Add User on the Service API now returns a dict of values

This commit is contained in:
2010-10-14 09:32:52 +01:00
parent 53fd5d7f92
commit 23be382e34
9 changed files with 13 additions and 11 deletions

View File

@@ -53,7 +53,7 @@ class MiningBuddyService(BaseDBService):
self.dbcursor.execute(self.SQL_ADD_API, [userid, int(time.time()), kwargs['eveapi'].api_user_id, kwargs['eveapi'].api_key, kwargs['character'].id])
self.db.connection.commit()
return self._clean_username(username)
return { 'username': self._clean_username(username), 'password': password }
def check_user(self, username):
""" Check if the username exists """