1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-04-28 03:10:45 +00:00

pyjwt==2.1.0

This commit is contained in:
lian 2021-04-29 14:48:48 +08:00
parent 20495741e5
commit c1a0dbf247
2 changed files with 2 additions and 2 deletions

View File

@ -14,6 +14,6 @@ djangorestframework==3.11.1
python-dateutil
requests
pillow
pyjwt
pyjwt==2.1.0
pycryptodome
requests_oauthlib

View File

@ -139,6 +139,6 @@ def get_onlyoffice_dict(request, username, repo_id, file_path, file_id='',
}
}
return_dict['onlyoffice_jwt_token'] = jwt.encode(config, ONLYOFFICE_JWT_SECRET).decode('utf-8')
return_dict['onlyoffice_jwt_token'] = jwt.encode(config, ONLYOFFICE_JWT_SECRET)
return return_dict