mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-30 22:34:53 +00:00
update_role_emailuser from ccnet_api (#3315)
This commit is contained in:
parent
f41410909f
commit
41e132d9ab
@ -64,7 +64,7 @@ class UserManager(object):
|
||||
"""
|
||||
If user has a role, update it; or create a role for user.
|
||||
"""
|
||||
ccnet_threaded_rpc.update_role_emailuser(email, role)
|
||||
ccnet_api.update_role_emailuser(email, role)
|
||||
return self.get(email=email)
|
||||
|
||||
def create_superuser(self, email, password):
|
||||
|
Loading…
Reference in New Issue
Block a user