be conservative with password hashing to prevent timeouts

This commit is contained in:
Jay Lee
2015-04-30 20:18:16 -04:00
parent f2b2c90586
commit 73c3cb013f

2
gam.py
View File

@@ -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()