1

When a user tries to log in and fails because the username or password is incorrect, he is redirected to the ugly EE error page saying "The existing username and/or password you submitted are not valid". How can I redirect to a custom page (basically the same log in page with a little red error message added to it) instead? The EE user guide doesn't seem to say anything.

  • Have you simply looked into updated the User Message templates? – Mark Busnelli Jr Jun 12 '13 at 17:19
  • Or you could look at Custom System Messages (boldminded.com/add-ons/csm) It also supports ajax so you don't need to reload the page at all – joedixon Jun 12 '13 at 17:56
  • I had never noticed the User Message templates (this is my first EE site), thanks for the tip! – Madc Jun 12 '13 at 18:01
1

@Madc

Is this within an EE template? Or are you talking about logging into the control panel?

If you're talking templates, you may want to use ObjectiveHTML's add-on Authenticate. Works like a charm and returns errors inline (if that's what you're looking for instead of EE's default page).

| improve this answer | |
0

Take a look at FreeMember, which lets you display inline error messages for your login/registration templates, as well as update the user's profile details etc.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.