Skip to content

Commit

Permalink
Merge branch 'feat/api-jwt' into deploy/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
zxhlyh committed Sep 19, 2023
2 parents 86ddce2 + becdb3c commit 9cd285d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def initialize_extensions(app):
def load_user(user_id):
"""Load user based on the user_id."""
if request.blueprint == 'console':
session.pop('_remember')
session.pop('_remember', None)
return AccountService.load_user(user_id)


Expand Down

0 comments on commit 9cd285d

Please sign in to comment.