diff --git a/services/modules/ips4/manager.py b/services/modules/ips4/manager.py index 2e7468c6..bcda4d44 100644 --- a/services/modules/ips4/manager.py +++ b/services/modules/ips4/manager.py @@ -48,7 +48,7 @@ class Ips4Manager: @staticmethod def _gen_pwhash(password): - return bcrypt.encrypt(password.encode('utf-8'), rounds=13) + return bcrypt.using(ident='2a').encrypt(password.encode('utf-8'), rounds=13) @staticmethod def _get_salt(pw_hash):