| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
authenticate(): This is removed as obsolete because of the new
authentication scheme.
|
| |
|
|
|
|
|
| |
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).
|
| |
|
|
|
| |
simple pass in self; maketext() digs the preferred language out of the
list object.
|
| | |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
| |
caused problems with the back button and didn't really solve an
existing problem.
|
|
|
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.
|