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.

3
  • Have you simply looked into updated the User Message templates? Commented Jun 12, 2013 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
    Commented Jun 12, 2013 at 17:56
  • I had never noticed the User Message templates (this is my first EE site), thanks for the tip!
    – Madc
    Commented Jun 12, 2013 at 18:01

2 Answers 2

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).

1
  • Well that's a cool add-on. I was going to use the Custom System Message (devot-ee.com/add-ons/custom-system-messages) add-on but this is definitely cooler (ok, mostly because it's free), thanks
    – Madc
    Commented Jun 13, 2013 at 13:42
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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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