Fix: log message for bad auth token was malformed (#5557)

This commit is contained in:
Kyunghwan Ko 2021-08-11 01:31:26 +09:00 committed by GitHub
parent 7445080d1a
commit 0f41f25720
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 (