portal: fix decode error

This commit is contained in:
axolotle 2023-10-17 14:15:59 +02:00
parent 089e0001c2
commit d65cca5ab1

View file

@ -133,7 +133,7 @@ class Authenticator(BaseAuthenticator):
response.set_cookie(
"yunohost.portal",
jwt.encode(new_infos, session_secret, algorithm="HS256").decode(),
jwt.encode(new_infos, session_secret, algorithm="HS256"),
secure=True,
httponly=True,
path="/",