summaryrefslogtreecommitdiff
path: root/src/mailman/rules/approved.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/rules/approved.py')
-rw-r--r--src/mailman/rules/approved.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/rules/approved.py b/src/mailman/rules/approved.py
index 3ff7d21ec..b1e3b0f1c 100644
--- a/src/mailman/rules/approved.py
+++ b/src/mailman/rules/approved.py
@@ -122,7 +122,7 @@ class Approved:
if password is missing:
return False
is_valid, new_hash = config.password_context.verify(
- mlist.moderator_password, password)
+ password, mlist.moderator_password)
if is_valid and new_hash:
# Hash algorithm migration.
mlist.moderator_password = new_hash