fix sha512_crypt.encrypt and explicitely set rounds to 500000

This commit is contained in:
Jay Lee
2014-06-29 14:45:08 -04:00
parent c52e646c67
commit 5c6415ccc2

2
gam.py
View File

@@ -1048,7 +1048,7 @@ def doDelegates(users):
def gen_sha512_hash(password):
from passlib.hash import sha512_crypt
return sha512_crypt(password)
return sha512_crypt.encrypt(password, rounds=500000)
def getDelegates(users):
emailsettings = getEmailSettingsObject()