From 511933218291180177b72620810e5323a3d17f36 Mon Sep 17 00:00:00 2001 From: Spitap Date: Sun, 30 Apr 2023 14:58:11 +0200 Subject: [PATCH] Fixed typo --- modoboa/core/password_hashers/advanced.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modoboa/core/password_hashers/advanced.py b/modoboa/core/password_hashers/advanced.py index 899b860d6..721c54f6f 100644 --- a/modoboa/core/password_hashers/advanced.py +++ b/modoboa/core/password_hashers/advanced.py @@ -40,7 +40,7 @@ class BLFCRYPTHasher(PasswordHasher): # rounds = parameters.get_global_parameter("rounds_number") # To get around this, I use the default of 12. rounds = 12 - return bcrypt.hash.using(rounds=rounds).hash(clearvalue) + return bcrypt.using(rounds=rounds).hash(clearvalue) def verify(self, clearvalue, hashed_value): return bcrypt.verify(clearvalue, hashed_value)