Skip to content

Commit

Permalink
be conservative with password hashing to prevent timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
jay0lee committed May 1, 2015
1 parent f2b2c90 commit 73c3cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gam.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 73c3cb0

Please sign in to comment.