summaryrefslogtreecommitdiff
path: root/Mailman/Cgi/rmlist.py
diff options
context:
space:
mode:
authorbwarsaw2001-05-09 16:44:48 +0000
committerbwarsaw2001-05-09 16:44:48 +0000
commit4aa47d9ba554d5ce51fc4ccde0834023da351edb (patch)
treee8e5a8a325a0e83dc4c6f8e948f31cbbd459d6f8 /Mailman/Cgi/rmlist.py
parent07176eb74ca4db97882ab759c2eedb6c2b8e25c3 (diff)
downloadmailman-4aa47d9ba554d5ce51fc4ccde0834023da351edb.tar.gz
mailman-4aa47d9ba554d5ce51fc4ccde0834023da351edb.tar.zst
mailman-4aa47d9ba554d5ce51fc4ccde0834023da351edb.zip
Diffstat (limited to 'Mailman/Cgi/rmlist.py')
-rw-r--r--Mailman/Cgi/rmlist.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mailman/Cgi/rmlist.py b/Mailman/Cgi/rmlist.py
index 94d2e8292..48b59b48a 100644
--- a/Mailman/Cgi/rmlist.py
+++ b/Mailman/Cgi/rmlist.py
@@ -114,7 +114,9 @@ def process_request(doc, cgidata, mlist):
delarchives = 0
# Make sure the password matches
- if not mlist.ValidAdminPassword(password):
+ if not mlist.ValidAdminPassword(password) and \
+ not Utils.check_global_password(password, siteadmin=0) and \
+ not Utils.check_global_password(password):
request_deletion(
doc, mlist,
_('You are not authorized to delete this mailing list'))