Skip to content

Commit f3edcc5

Browse files
committed
feat: added option for api auth
1 parent 550010a commit f3edcc5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/webapp/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ async def access_token_from_api_key(
105105

106106
user = authenticate_api_key(api_key_enduser_tuple, local_session.get())
107107
valid = check_creds(form_data.username, form_data.password)
108-
logger.info(f"user: {user}, creds valid: {valid}")
108+
logger.info(f"api_key input: {api_key_enduser_tuple}")
109+
logger.info(f"user: {user}")
110+
logger.info(f"valid creds: {valid}")
109111

110112
if not user and not valid:
111113
raise HTTPException(

0 commit comments

Comments
 (0)