User str decode Removed

This commit is contained in:
Nile Walker 2021-02-12 09:30:18 -05:00
parent 044b82cb25
commit 7eeb491dfa
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ def _handle_login(user_info: LdapModel, redirect_url=None):
g.user = user g.user = user
# Return the frontend auth callback URL, with auth token appended. # Return the frontend auth callback URL, with auth token appended.
auth_token = user.encode_auth_token().decode() auth_token = user.encode_auth_token()#.decode()
g.token = auth_token g.token = auth_token
if redirect_url is not None: if redirect_url is not None: