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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user