From 152afaaed89d6826fa0a545e6be0b4e28e2216fd Mon Sep 17 00:00:00 2001 From: Jordan Stremming Date: Fri, 22 Mar 2019 12:43:21 -0500 Subject: [PATCH] Use argon2 for hashing --- app/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/settings.py b/app/settings.py index 5a50033..420309f 100644 --- a/app/settings.py +++ b/app/settings.py @@ -24,6 +24,7 @@ USER_ENABLE_EMAIL = True # Register with Email USER_ENABLE_REGISTRATION = True # Allow new users to register USER_REQUIRE_RETYPE_PASSWORD = True # Prompt for `retype password` in: USER_ENABLE_USERNAME = False # Register and Login with username +USER_PASSLIB_CRYPTCONTEXT_SCHEMES = ['argon2'] # argon2 for hashing USER_AFTER_LOGIN_ENDPOINT = "main.index" USER_AFTER_LOGOUT_ENDPOINT = "main.signed_out"