cancel
Showing results for 
Search instead for 
Did you mean: 

Unsuccessful login attempt provides no user feedback

Unsuccessful login attempt provides no user feedback

Hi,

 

On the Customer Login page, enter an invalid email and password.Click the Sign In button.

Expected Result - An inline error message should appear on the login page, clearly stating
Invalid login or password. to inform the user of the failed attempt.

Actual Result-The page reloads, clearing the password field but displaying no error message.

How to display the error message?

 

Thanks

10 REPLIES 10

Re: Unsuccessful login attempt provides no user feedback

Hi @padmachhat5f0d ,

In the default Magento flow, when a customer enters their email and password and clicks the Sign In button on the login page, the page reloads. If either the email or password is incorrect, the password field is cleared after the reload and a red error message appears at the top of the page (as shown in the attached screenshot).

 

I suggest testing this once with the Luma theme to verify the behavior. It seems that a custom extension or theme in your setup might be disrupting the default flow.

 

Additionally, please ensure that all core caches are enabled from Cache Management for validation.

 

 


Screenshot-from-2025-08-18-10-20-47-08-18-2025_10_21_AM.png

 

Problem Solved? Accept as Solution!

 

Thanks

Ankit

Ankit Jasani

Re: Unsuccessful login attempt provides no user feedback

Yeah, that definitely needs clearer feedback. You can handle it by validating on the server side and returning an error message to display inline. A simple way is to use the calculator approach of showing results instantly, just adapt that idea so the login form immediately shows what went wrong instead of reloading silently.

Re: Unsuccessful login attempt provides no user feedback

It might be caused by a theme or customization hiding the error. Try checking your login template and clear cache to see if the message shows up

Re: Unsuccessful login attempt provides no user feedback

 

 

 

Reminds me of missing a move in Carrom Online feedback in real-time makes all the difference.

 
 

Re: Unsuccessful login attempt provides no user feedback

Good point clear feedback is key. Tools like fairplay pro make tracking and managing user issues much easier.

Re: Unsuccessful login attempt provides no user feedback

Thanks

Re: Unsuccessful login attempt provides no user feedback

That's a great suggestion! Adapting the instant feedback approach from the calculator example makes a lot of sense. Implementing server-side validation with inline error messages would definitely improve the user experience and reduce confusion. Thanks for the tip!


@helensmith9623 wrote:

Yeah, that definitely needs clearer feedback. You can handle it by validating on the server side and returning an error message to display inline. A simple way is to use the calculator approach of showing results instantly, just adapt that idea so the login form immediately shows what went wrong instead of reloading silently.


 

Re: Unsuccessful login attempt provides no user feedback

You’ll need to handle the failed login response and show an inline message instead of just refreshing the page otherwise users get confused. I had the same issue and adding proper validation plus a visible alert fixed it, no need to just Reload every time.

Re: Unsuccessful login attempt provides no user feedback

You can handle this by adding a validation message in your login controller or template so users get clear feedback. I’ve seen good UX examples on sites like socialswagstar.com worth checking for inspiration.