diff --git a/qwc_services_core/config_models.py b/qwc_services_core/config_models.py index 13c3301..24096de 100644 --- a/qwc_services_core/config_models.py +++ b/qwc_services_core/config_models.py @@ -66,7 +66,7 @@ class User(UserMixin, Base): __table_args__ = ({"schema": "qwc_config"}) def set_password(self, password): - self.password_hash = generate_password_hash(password) + self.password_hash = generate_password_hash(password, method='pbkdf2') def check_password(self, password): return check_password_hash(self.password_hash, password)