1
0
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:
杨赫然
2024-07-04 10:39:37 +08:00
parent fc294e7ec7
commit 6d85c3f0f8
15 changed files with 55 additions and 32 deletions

View File

@@ -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