mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-04-28 03:20:10 +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)
|
||||
|
||||
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)
|
||||
|
||||
def get_superusers(self):
|
||||
|
Loading…
Reference in New Issue
Block a user