diff options
author | Mark Sapiro <mark@msapiro.net> | 2021-11-03 12:04:49 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2021-11-03 12:04:49 -0700 |
commit | 8b4c3d43cab5bc39a9bb5f8151517a4aa7d7867c (patch) | |
tree | 39b7d16d638917fd76ba1aba9a49a8771806da68 | |
parent | e17a9218ddd5b614c2a02743cedc9652974af7af (diff) | |
download | mailman2-8b4c3d43cab5bc39a9bb5f8151517a4aa7d7867c.tar.gz mailman2-8b4c3d43cab5bc39a9bb5f8151517a4aa7d7867c.tar.xz mailman2-8b4c3d43cab5bc39a9bb5f8151517a4aa7d7867c.zip |
Use moderator rather than admin for admindb CSRF token.
Diffstat (limited to '')
-rw-r--r-- | Mailman/Cgi/admindb.py | 3 |
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,)) |