Skip to content

Commit

Permalink
fix bug around fetching user from token
Browse files Browse the repository at this point in the history
  • Loading branch information
Zsailer committed Mar 23, 2023
1 parent b87f96f commit 4c2b47c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter_server/auth/identity.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ def process_login_form(self, handler: JupyterHandler) -> User | None:

if self.token and self.token == typed_password:
# type:ignore[attr-defined]
return self.user_for_token(typed_password)
return self.get_user_token(typed_password)

return user

Expand Down

0 comments on commit 4c2b47c

Please sign in to comment.