From 8b4c3d43cab5bc39a9bb5f8151517a4aa7d7867c Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Wed, 3 Nov 2021 12:04:49 -0700 Subject: Use moderator rather than admin for admindb CSRF token. --- Mailman/Cgi/admindb.py | 3 +-- 1 file changed, 1 insertion(+), 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,)) -- cgit v1.2.3