Merge pull request #3415 from charhate/membership

pyjwt from 1.7.1 to 2.0.1
This commit is contained in:
charhate 2021-02-10 20:05:50 -08:00 committed by GitHub
commit fb219b2e94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ def create_token(user, aid=None, ttl=None):
else: else:
payload["exp"] = ttl payload["exp"] = ttl
token = jwt.encode(payload, current_app.config["LEMUR_TOKEN_SECRET"]) token = jwt.encode(payload, current_app.config["LEMUR_TOKEN_SECRET"])
return token.decode("unicode_escape") return token
def login_required(f): def login_required(f):

View File

@ -171,7 +171,7 @@ pycryptodomex==3.9.7
# via pyjks # via pyjks
pyjks==20.0.0 pyjks==20.0.0
# via -r requirements.in # via -r requirements.in
pyjwt==1.7.1 pyjwt==2.0.1
# via -r requirements.in # via -r requirements.in
pynacl==1.3.0 pynacl==1.3.0
# via paramiko # via paramiko