mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-13 22:40:16 +02:00
Use pwhash
instead of passwd
This way we ensure that the initial password actually works and the user doesn't have to set a new one right away.
This commit is contained in:
parent
bd5c2d8cbc
commit
e296477880
@ -159,7 +159,7 @@ class SmfManager:
|
||||
else:
|
||||
try:
|
||||
cursor.execute(cls.SQL_ADD_USER,
|
||||
[username_clean, passwd, email_address, register_date, username_clean])
|
||||
[username_clean, pwhash, email_address, register_date, username_clean])
|
||||
cls.add_avatar(username_clean, characterid)
|
||||
logger.info("Added smf member_name %s" % username_clean)
|
||||
cls.update_groups(username_clean, groups)
|
||||
|
Loading…
x
Reference in New Issue
Block a user