Skip to content

Commit

Permalink
Fix use of undeclared variable identity
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Sep 26, 2024
1 parent 031fd0f commit e3d1ad6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ def login():
target_url = urlunparse(parts)
resp = make_response(redirect(target_url))

identity = get_identity()
if identity:
unset_jwt_cookies(resp)

Expand Down

0 comments on commit e3d1ad6

Please sign in to comment.