pyjwt from 1.7.1 to 2.0.1
This commit is contained in:
parent
c71f3bfb5c
commit
533985ca35
@ -77,7 +77,7 @@ def create_token(user, aid=None, ttl=None):
|
||||
else:
|
||||
payload["exp"] = ttl
|
||||
token = jwt.encode(payload, current_app.config["LEMUR_TOKEN_SECRET"])
|
||||
return token.decode("unicode_escape")
|
||||
return token
|
||||
|
||||
|
||||
def login_required(f):
|
||||
|
@ -171,7 +171,7 @@ pycryptodomex==3.9.7
|
||||
# via pyjks
|
||||
pyjks==20.0.0
|
||||
# via -r requirements.in
|
||||
pyjwt==1.7.1
|
||||
pyjwt==2.0.1
|
||||
# via -r requirements.in
|
||||
pynacl==1.3.0
|
||||
# via paramiko
|
||||
|
Loading…
Reference in New Issue
Block a user