mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-22 14:19:28 +00:00
Oops, pass back username!
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 True
|
||||
return username
|
||||
else:
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user