#1256 teach firefox that different lists may have different passwo

open
nobody
Web/CGI (248)
5
2008-08-05
2008-08-05
Robert Collins
No

given two lists on a mailman instance, foo and bar, each with a list passsword the same as the name. login to one, save the password in firefox, go to the other's admindb and it will fail - wrong password. login and ask firefox to remember it and it resets the password saved for the list foo.

This is annoying :) I suspect you are using the same field and form names - while I don't know what the heuristic ff uses for html auth field detection, its certainly assuming its the *same* password.

One hack that might be elegant and work would be a hidden field called username set to the list name :)

Another would be just changing things to ff thinks its a different password and stores it differently.

I'd *really* love a fix that can be backported to 2.1.8 which our list servers are running.

Discussion

  • Mark Sapiro
    Mark Sapiro
    2008-08-05

    Logged In: YES
    user_id=1123998
    Originator: NO

    The template for the pages is admlogin.html. See <http://wiki.list.org/x/jYA9> for ways to make an edited version of this template. The string %(listname)s will be replaced with the list name. You could implement your first suggestion by changing the line

    <TD><INPUT TYPE="password" NAME="adminpw" SIZE="30"></TD>

    to

    <TD><INPUT TYPE="HIDDEN" NAME="userid" VALUE="%(listname)s">
    <INPUT TYPE="password" NAME="adminpw" SIZE="30"></TD>

    Changing the name "adminpw" to something list specific as in your second suggestion would require several code changes to identify the password.