143
143
safe_params = ['adminpw', 'admlogin', 'msgid', 'sender', 'details']
145
145
if set(params) - set(safe_params):
149
149
# if password is present, void cookie to force password authentication.
151
151
os.environ['HTTP_COOKIE'] = ''
154
154
if not mlist.WebAuthenticate((mm_cfg.AuthListAdmin,
155
155
mm_cfg.AuthListModerator,
158
158
if cgidata.has_key('adminpw'):
159
159
# This is a re-authorization attempt
160
160
msg = Bold(FontSize('+1', _('Authorization failed.'))).Format()