aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Cgi/admindb.py
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2021-11-03 12:04:49 -0700
committerMark Sapiro <mark@msapiro.net>2021-11-03 12:04:49 -0700
commit8b4c3d43cab5bc39a9bb5f8151517a4aa7d7867c (patch)
tree39b7d16d638917fd76ba1aba9a49a8771806da68 /Mailman/Cgi/admindb.py
parente17a9218ddd5b614c2a02743cedc9652974af7af (diff)
downloadmailman2-8b4c3d43cab5bc39a9bb5f8151517a4aa7d7867c.tar.gz
mailman2-8b4c3d43cab5bc39a9bb5f8151517a4aa7d7867c.tar.xz
mailman2-8b4c3d43cab5bc39a9bb5f8151517a4aa7d7867c.zip
Use moderator rather than admin for admindb CSRF token.
Diffstat (limited to 'Mailman/Cgi/admindb.py')
-rw-r--r--Mailman/Cgi/admindb.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Mailman/Cgi/admindb.py b/Mailman/Cgi/admindb.py
index 58bb3578..32b0be76 100644
--- a/Mailman/Cgi/admindb.py
+++ b/Mailman/Cgi/admindb.py
@@ -59,8 +59,7 @@ if mm_cfg.DISPLAY_HELD_SUMMARY_SORT_BUTTONS in (SSENDERTIME, STIME):
else:
ssort = SSENDER
-AUTH_CONTEXTS = (mm_cfg.AuthListAdmin, mm_cfg.AuthSiteAdmin,
- mm_cfg.AuthListModerator)
+AUTH_CONTEXTS = ((mm_cfg.AuthListModerator,))