3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-24 03:29:28 +01:00

login: remove all__vary_rounds setting (deprecated in Passlib 1.7)

This commit is contained in:
James Lu 2017-03-08 22:57:15 -08:00
parent f6d9765f87
commit b23a887edd

View File

@ -15,7 +15,6 @@ except ImportError:
pwd_context = None pwd_context = None
if CryptContext: if CryptContext:
pwd_context = CryptContext(["sha512_crypt", "sha256_crypt"], pwd_context = CryptContext(["sha512_crypt", "sha256_crypt"],
all__vary_rounds=0.1,
sha256_crypt__default_rounds=180000, sha256_crypt__default_rounds=180000,
sha512_crypt__default_rounds=90000) sha512_crypt__default_rounds=90000)