From 7eeb491dfa195998bcff62af4d4d399f6ce480a3 Mon Sep 17 00:00:00 2001 From: Nile Walker Date: Fri, 12 Feb 2021 09:30:18 -0500 Subject: [PATCH] User str decode Removed --- crc/api/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crc/api/user.py b/crc/api/user.py index bbd51130..6c1e9abf 100644 --- a/crc/api/user.py +++ b/crc/api/user.py @@ -214,7 +214,7 @@ def _handle_login(user_info: LdapModel, redirect_url=None): g.user = user # 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 if redirect_url is not None: