mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Added self to add_user
This commit is contained in:
@@ -30,7 +30,7 @@ class MumbleSQLService(BaseDBService):
|
|||||||
def _gen_pwhash(password):
|
def _gen_pwhash(password):
|
||||||
return hashlib.sha1(password).hexdigest()
|
return hashlib.sha1(password).hexdigest()
|
||||||
|
|
||||||
def _gen_name(character):
|
def _gen_name(self, character):
|
||||||
details = { 'name': character.name,
|
details = { 'name': character.name,
|
||||||
'corporation': character.corporation.ticker }
|
'corporation': character.corporation.ticker }
|
||||||
if character.corporation.alliance:
|
if character.corporation.alliance:
|
||||||
|
|||||||
Reference in New Issue
Block a user