Subject: | $ENV{'REDIRECT_AuthCookieReason'} value |
When a user fails to login the $ENV{'REDIRECT_AuthCookieReason'} value
is just "bad_credentials" so there is no way to tell the difference
between different errors. (i.e. user does not exist vs wrong password)
Is it possible to pass the error message from the log_error() call to
that ENV var? Or to make it more descriptive in some way?
We are using Apache2::AuthCookieDBI, one feature is an "active" field,
and when a user signs up, but has not confirmed their account, or if
they fail to make a payment we set their active flag to 0. When they go
to login it tells them they have their username or password wrong
because we can't tell the difference between active == 0 and bad login
credentials.
Thanks.