1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-31 22:57:47 +00:00

update_role_emailuser from ccnet_api (#3315)

This commit is contained in:
sniper-py 2019-04-18 16:07:54 +08:00 committed by lian
parent f41410909f
commit 41e132d9ab

View File

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