diff options
| author | bwarsaw | 2000-07-22 02:17:55 +0000 |
|---|---|---|
| committer | bwarsaw | 2000-07-22 02:17:55 +0000 |
| commit | fc16fd3d4b63865e821e64e6fc974b63cc362647 (patch) | |
| tree | 5f3d3aaf033fa3ee4c4acd21b70c6aefe293e0c6 | |
| parent | 775182dd64410f656072fd7e5611cf22f3250059 (diff) | |
| download | mailman-fc16fd3d4b63865e821e64e6fc974b63cc362647.tar.gz mailman-fc16fd3d4b63865e821e64e6fc974b63cc362647.tar.zst mailman-fc16fd3d4b63865e821e64e6fc974b63cc362647.zip | |
loginpage: Remove the Cache-control: and Expires: headers. These
caused problems with the back button and didn't really solve an
existing problem.
| -rw-r--r-- | Mailman/Cgi/Auth.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Mailman/Cgi/Auth.py b/Mailman/Cgi/Auth.py index 198041e8d..a6a2a2c2e 100644 --- a/Mailman/Cgi/Auth.py +++ b/Mailman/Cgi/Auth.py @@ -39,11 +39,7 @@ def loginpage(mlist, scriptname, msg='', frontpage=None): actionurl = Utils.GetRequestURI(url) if msg: msg = FontAttr(msg, color='#FF5060', size='+1').Format() - print '''Content-type: text/html - Cache-control: no-cache - Expires: 0 - - ''' + print 'Content-type: text/html\n' print Utils.maketext( # Should really be admlogin.html :/ 'admlogin.txt', |
