tuupola/slim-basic-auth

Pass email address to error callback

Closed this issue · 2 comments

I just broke my API thinking that the arguments passed to the error callback had the email address in them.

Use case: logging failed authentication attempts

Is this something that could be added in the 2.x branch?

In your case is the email used as the username or how is it related to the authentication?

ah sorry, yes it's a username. The auth is email:password.