mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-18 12:19:29 +00:00
Now provides user, character, eveapi, and reddit accounts to the Service API add_user
This commit is contained in:
@@ -21,7 +21,7 @@ class JabberService(BaseService):
|
||||
self.method = "cmd"
|
||||
self.ejctl = eJabberdCtl(sudo=settings.JABBER_SUDO)
|
||||
|
||||
def add_user(self, username, password):
|
||||
def add_user(self, username, password, **kwargs):
|
||||
""" Add user to service """
|
||||
if self.method == "xmpp":
|
||||
if self.jabberadmin.adduser('%s@%s' % (username, settings.JABBER_SERVER), password):
|
||||
|
||||
Reference in New Issue
Block a user