aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.rst4
-rw-r--r--ihatemoney/run.py2
2 files changed, 4 insertions, 2 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 292357e..81993f3 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -10,8 +10,9 @@ Fixed
=====
- Regenerate translations (#338)
-- Fix the supervisord template (#309)
- Fix broken install with pip ≥ 10 (#340)
+- Fix the generation of the supervisord template (#309)
+- Fix the validation of the hashed password (#310)
Added
=====
@@ -21,6 +22,7 @@ Added
2.1 (2018-02-16)
----------------
+=======
Changed
=======
diff --git a/ihatemoney/run.py b/ihatemoney/run.py
index a8de26f..6dac233 100644
--- a/ihatemoney/run.py
+++ b/ihatemoney/run.py
@@ -91,7 +91,7 @@ def validate_configuration(app):
if 'MAIL_DEFAULT_SENDER' not in app.config:
app.config['MAIL_DEFAULT_SENDER'] = default_settings.DEFAULT_MAIL_SENDER
- if "pbkdf2:sha256:" not in app.config['ADMIN_PASSWORD'] and app.config['ADMIN_PASSWORD']:
+ if "pbkdf2:" not in app.config['ADMIN_PASSWORD'] and app.config['ADMIN_PASSWORD']:
# Since 2.0
warnings.warn(
"The way Ihatemoney stores your ADMIN_PASSWORD has changed. You are using an unhashed"