Skip to content

Commit

Permalink
Fix: log message for bad auth token was malformed (getredash#5557)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyunghwan1207 authored and harveyrendell committed Jan 8, 2025
1 parent aae811b commit d3952a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions redash/handlers/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ def render_token_login_page(template, org_slug, token, invite):
user = models.User.get_by_id_and_org(user_id, org)
except NoResultFound:
logger.exception(
"Bad user id in token. Token= , User id= %s, Org=%s",
user_id,
"Bad user id in token. Token=%s , User id= %s, Org=%s",
token,
user_id,
org_slug,
)
return (
Expand Down

0 comments on commit d3952a2

Please sign in to comment.