Redirect after failed login
-
Hi Jason!
First of all, thank you so much for creating and supporting this awesome plugin! I got started using it pretty recently, and its already made a lot of things easier.
When a user logs into my site, they are redirected to wherever they came from (the referer), just as expected. However, if they mistype their password, TML passes the buck to my theme for redirection, and then when the user enters their credentials correctly, they are brought to their profile (instead of whichever page referred them to login).
Do you know of a way to redirect the user back to the TML login whenever they fail to login, ideally with a helpful error message? I can of course write a hook on
wp_failed_login
to redirect the user to <homepage>/login, but they still won’t redirect to the referer, and get no error message.Any help is appreciated, and thanks again!
- The topic ‘Redirect after failed login’ is closed to new replies.