mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-16 15:18:58 +00:00
Add username to webaccess
This commit is contained in:
@@ -753,8 +753,8 @@ class SeafServerThreadedRpcClient(NamedPipeClient):
|
||||
pass
|
||||
|
||||
# token for web access to repo
|
||||
@searpc_func("string", ["string", "string", "string", "string", "int"])
|
||||
def seafile_web_get_access_token(repo_id, obj_id, op, username, use_onetime=1):
|
||||
@searpc_func("string", ["string", "string", "string", "string", "string", "int"])
|
||||
def seafile_web_get_access_token(repo_id, obj_id, op, username, friendly_name, use_onetime=1):
|
||||
pass
|
||||
web_get_access_token = seafile_web_get_access_token
|
||||
|
||||
|
Reference in New Issue
Block a user