From cda47e2fb6846ec9833bb9161684fd2b7cd1c298 Mon Sep 17 00:00:00 2001 From: Santiago Lamora Date: Fri, 9 Jul 2021 13:03:53 +0200 Subject: [PATCH] Remove deprecated passlib setting __vary_rounds Deprecated since version 1.7 and will be removed in 2.0 The (very minimal) security benefit it provides was judged to not be worth code complexity it requires. --- orchestra/conf/project_template/project_name/settings.py | 1 - 1 file changed, 1 deletion(-) diff --git a/orchestra/conf/project_template/project_name/settings.py b/orchestra/conf/project_template/project_name/settings.py index 576dd0b8..c59610d7 100644 --- a/orchestra/conf/project_template/project_name/settings.py +++ b/orchestra/conf/project_template/project_name/settings.py @@ -260,7 +260,6 @@ PASSLIB_CONFIG = ( "default = sha512_crypt\n" "deprecated = django_pbkdf2_sha1, django_salted_sha1, django_salted_md5, " " django_des_crypt, des_crypt, hex_md5\n" - "all__vary_rounds = 0.05\n" "django_pbkdf2_sha256__min_rounds = 10000\n" "sha512_crypt__min_rounds = 80000\n" "staff__django_pbkdf2_sha256__default_rounds = 12500\n"