mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-22 22:29:34 +00:00
Add User on the Service API now returns a dict of values
This commit is contained in:
@@ -34,7 +34,7 @@ class MumbleService(BaseService):
|
||||
|
||||
if self.raw_add_user(username, kwargs['user'].email, password):
|
||||
self.update_groups(username, kwargs['user'].groups.all())
|
||||
return username
|
||||
return { 'username': username, 'password': password }
|
||||
else:
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user