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:
parent
20495741e5
commit
c1a0dbf247
@ -14,6 +14,6 @@ djangorestframework==3.11.1
|
||||
python-dateutil
|
||||
requests
|
||||
pillow
|
||||
pyjwt
|
||||
pyjwt==2.1.0
|
||||
pycryptodome
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user