You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What does "validate no parameter is empty" mean there?
Why should I do that? If there's no password given, it's treated as wrong password, so that looks OK for me.
How should I do that? If the password is indeed '', I still need to return a Passport. So (except from throwing an exception), there's nothing much I could do about it (especially can't generate a form error message), right?
Why is the comment shown in a code sample about CSRF?
For instance, if you want to add CSRF to your custom authenticator, you would initialize the passport like this:
=> So I'd say either just delete it, or give a more complete idea of what to do: