Commit bdfc343a by Oleksandr Barabash

TOKEN_HELPER do_auth fixed

parent 8da40bd9
...@@ -72,7 +72,7 @@ class TokenHelper: ...@@ -72,7 +72,7 @@ class TokenHelper:
return dict(tokenType="Bearer", return dict(tokenType="Bearer",
expiresIn=ttl, expiresIn=ttl,
accessToken=token) accessToken=token)
raise None return None
def do_auth(self, user: AdminUser): def do_auth(self, user: AdminUser):
""" Perform auth async """ """ Perform auth async """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment