Comment 16 for bug 411559

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote : Re: Unfriendly message upon typing incorrect password (Policykit-GNOME)

If we don't try to over-interpret the message from PAM by replacing "Authentication failed" with "Wrong password", then the real fix can and should go into PAM itself. i.e., all programs in the system should return the chosen string when authentication failed. As suggested above, "Your login attempt was unsuccessful. Please try again." is a nice first shot.

I don't really like the idea of hacking the string in PolicyKit/GDM/gnome-screensaver themselves: after playing with that, we end up with ugly things like [1] which need to be repeated in every program.

1: http://git.gnome.org/browse/gnome-control-center/tree/capplets/about-me/gnome-about-me-password.c#n531