mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-08-27 19:18:47 +00:00
Add default parameter for update_role_emailuser (#742)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
parent
1502be4a42
commit
9efe0b58fd
@ -996,7 +996,7 @@ class CcnetAPI(object):
|
|||||||
"""
|
"""
|
||||||
return ccnet_threaded_rpc.update_emailuser(source, user_id, password, is_staff, is_active)
|
return ccnet_threaded_rpc.update_emailuser(source, user_id, password, is_staff, is_active)
|
||||||
|
|
||||||
def update_role_emailuser(self, email, role):
|
def update_role_emailuser(self, email, role, is_manual_set=True):
|
||||||
return ccnet_threaded_rpc.update_role_emailuser(email, role)
|
return ccnet_threaded_rpc.update_role_emailuser(email, role)
|
||||||
|
|
||||||
def get_superusers(self):
|
def get_superusers(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user