mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-21 13:49:23 +00:00
Add User on the Service API now returns a dict of values
This commit is contained in:
@@ -31,7 +31,7 @@ class JabberService(BaseService):
|
||||
uid = "%s@%s" % (username.lower(), self.settings['jabber_server'])
|
||||
if 'user' in kwargs:
|
||||
self.update_groups(uid, kwargs['user'].groups.all())
|
||||
return uid
|
||||
return { 'username': uid, 'password': password }
|
||||
else:
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user