summaryrefslogtreecommitdiff
path: root/Mailman/Cgi/Auth.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Stupid change because the last checkin failed to say:bwarsaw2001-05-311-1/+2
| | | | | authenticate(): This is removed as obsolete because of the new authentication scheme.
* loginpage(): Add the standard footer to the login page. The loginbwarsaw2001-05-311-35/+8
| | | | | | | template is now in admlogin.html instead of admlogin.txt. If the scriptname is "admindb", then we're asking for the list-moderators password (although the list owner's password will still work of course).
* loginpage(): Instead of passing in the list's preferred language,bwarsaw2001-05-181-1/+1
| | | | | simple pass in self; maketext() digs the preferred language out of the list object.
* copyright yearbwarsaw2001-02-281-1/+1
|
* More i18n changes.bwarsaw2001-02-281-5/+8
| | | | | | | | loginpage(): Be sure to set the proper charset on the Content-Type: header (using the charset for the list's preferred language). Fix Utils.maketext(). authenticate(): Mark more strings as translatable.
* loginpage(): Use full-on red for errors.bwarsaw2000-09-151-2/+5
| | | | | | | | | | authenticate(): Because admin.py now tells cgi.FieldStorage to keep_blank_values (necessary to fix other bugs), it isn't enough to test just for presence of the `adminpw' key. The key's value must also be non-empty. Not a great solution, but the best we can do right now. Yes, this means that empty admin keys aren't allowed.
* GetRelativeScriptURL() => GetScriptURL()bwarsaw2000-08-011-1/+1
|
* loginpage: Remove the Cache-control: and Expires: headers. Thesebwarsaw2000-07-221-5/+1
| | | | | caused problems with the back button and didn't really solve an existing problem.
* Factor out some of the common code in admin.py and admindb.py.bwarsaw2000-07-201-0/+83
Specifically, loginpage(): Creates and prints the HTML for the front page of the admin interface. Lots of config arguments ;) authenticate(): Performs the actual authentication and raises a NotLoggedInError if that fails.