1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-10 03:39:01 +00:00

Create repo add pwd_hash and don't read pwd_hash from seafile.conf (#665)

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
feiniks
2024-07-16 16:42:37 +08:00
committed by GitHub
parent 06851a12c1
commit ba9476d67b
11 changed files with 27 additions and 81 deletions

View File

@@ -6,8 +6,8 @@ class SeafServerThreadedRpcClient(NamedPipeClient):
NamedPipeClient.__init__(self, pipe_path, "seafserv-threaded-rpcserver")
# repo manipulation
@searpc_func("string", ["string", "string", "string", "string", "int"])
def seafile_create_repo(name, desc, owner_email, passwd, enc_version):
@searpc_func("string", ["string", "string", "string", "string", "int", "string", "string"])
def seafile_create_repo(name, desc, owner_email, passwd, enc_version, pwd_hash_algo, pwd_hash_params):
pass
create_repo = seafile_create_repo