We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm having some trouble changing the default error messages jwt-auth sends back when login is failed.
At the moment I get something very specific like:
<strong>ERROR</strong>: invalid username. <a href="https://example.com/wp-login.php?action=lostpassword">Lost your password?</a>
I would like to:
How would I do this? I already tried adding:
function remove_all_login_errors( $error ) { return "Incorrect login information"; } add_filter( 'login_errors', 'remove_all_login_errors');
To my functions.php, however this just changed the error messages on the default wordpress login.
functions.php
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm having some trouble changing the default error messages jwt-auth sends back when login is failed.
At the moment I get something very specific like:
I would like to:
How would I do this? I already tried adding:
To my
functions.php
, however this just changed the error messages on the default wordpress login.The text was updated successfully, but these errors were encountered: