mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 09:51:36 +00:00
be conservative with password hashing to prevent timeouts
This commit is contained in:
2
gam.py
2
gam.py
@@ -981,7 +981,7 @@ def doDelegates(users):
|
||||
|
||||
def gen_sha512_hash(password):
|
||||
from passlib.handlers.sha2_crypt import sha512_crypt
|
||||
return sha512_crypt.encrypt(password, rounds=500000)
|
||||
return sha512_crypt.encrypt(password, rounds=5000)
|
||||
|
||||
def getDelegates(users):
|
||||
emailsettings = getEmailSettingsObject()
|
||||
|
||||
Reference in New Issue
Block a user