Skip to content

Commit

Permalink
Logging revision
Browse files Browse the repository at this point in the history
  • Loading branch information
na-stewart committed Nov 4, 2024
1 parent 9311ad0 commit 2bb987f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sanic_security/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ async def logout(request: Request) -> AuthenticationSession:
authentication_session.active = False
await authentication_session.save(update_fields=["active"])
logger.info(
f"Client has logged out{" anonymously" if authentication_session.anonymous
else f" of account {authentication_session.bearer.id}"} with authentication session {authentication_session.id}."
f"Client has logged out{" anonymously" if authentication_session.anonymous else
f" of account {authentication_session.bearer.id}"} with authentication session {authentication_session.id}."
)
return authentication_session

Expand Down

0 comments on commit 2bb987f

Please sign in to comment.