Subject: | $ENV{'REDIRECT_AuthCookieReason'} value |
When a user fails to login the module writes a descriptive error
message, however the $ENV{'REDIRECT_AuthCookieReason'} value is just
"bad_credentials" so there is no way to tell the user things like "Your
account is not active yet".
I don't think you should tell the user that the username entered does
not exist, because hackers can use that for brute force attacks, but
some programmers might want to display that type of message, and the
bad_credentials does not tell you if it is an undefined user name, or
just a bad password for a valid username.
Is it possible to make that var more descriptive?