Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
bump gimsisapi
Browse files Browse the repository at this point in the history
remove logging of lopolis passwords on failed attempts
  • Loading branch information
mytja committed Dec 15, 2023
1 parent 1108d43 commit 14ab05a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/endpoints/accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ async def login(response: Response, username: str = Form(), password: str = Form
await sessions[login_session].login()
except Exception as e:
if force_lopolis == "true":
print(f"[FORCED LOPOLIS LOGIN] Login failed: {e} {sessions[login_session].lopolis_password} {sessions[login_session].lopolis_username}")
print(f"[FORCED LOPOLIS LOGIN] Login failed: {e} {sessions[login_session].lopolis_username}")
response.status_code = status.HTTP_401_UNAUTHORIZED
return {
"type": "login_fail",
Expand Down

0 comments on commit 14ab05a

Please sign in to comment.