1
0
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:
feiniks 2025-03-07 10:18:28 +08:00 committed by GitHub
parent 1502be4a42
commit 9efe0b58fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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