Skip to content

Commit

Permalink
Fix logging expired token
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Dec 27, 2023
1 parent 57d342f commit 37cf8fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qwc_services_core/jwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def restplus_error_handler(error):
@jwt.expired_token_loader
def handle_expired_token(jwtheader, jwtdata):
# Unset cookies and redirect to requested page on expired token
app.logger.warn("Expired token: %s" % str(err))
app.logger.warn("Expired token")
resp = redirect(request.url)
unset_jwt_cookies(resp)
return resp
Expand Down

0 comments on commit 37cf8fc

Please sign in to comment.