mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-23 09:11:15 +00:00
pyjwt==2.1.0
This commit is contained in:
parent
20495741e5
commit
c1a0dbf247
@ -14,6 +14,6 @@ djangorestframework==3.11.1
|
|||||||
python-dateutil
|
python-dateutil
|
||||||
requests
|
requests
|
||||||
pillow
|
pillow
|
||||||
pyjwt
|
pyjwt==2.1.0
|
||||||
pycryptodome
|
pycryptodome
|
||||||
requests_oauthlib
|
requests_oauthlib
|
||||||
|
@ -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
|
return return_dict
|
||||||
|
Loading…
Reference in New Issue
Block a user