From 73c3cb013f142db31061097330021b94c15d8896 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Thu, 30 Apr 2015 20:18:16 -0400 Subject: [PATCH] be conservative with password hashing to prevent timeouts --- gam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gam.py b/gam.py index 62c4ebb7..1e2cab5d 100755 --- a/gam.py +++ b/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()