We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

A better password recovery and error handling?

News and General

afarsh's avatar
afarsh
28 posts
4 years ago
afarsh's avatar afarsh

When using the password form tag “{exp:member:forgot_password_form}” if a user enters an email that is not in the database, expression engine outputs the following:

'forgotten_email_sent' => 'If this email address is associated with an account, instructions for resetting your password have just been emailed to you.',

Is there a way to have a custom message out saying the email is not recognized? The ‘{errors}’ is not doing anything and I am not able to find a discussion on this anywhere.

       
Jace Richardson's avatar
Jace Richardson
14 posts
4 years ago
Jace Richardson's avatar Jace Richardson

There isn’t currently a way to modify this without changing the core code.

This is actually done for security purposes. If we return a message stating the email is not recognized, that gives hackers a way to verify that an email exists in the system. If they keep trying different emails and eventually don’t get that message, they know an account exists with that email and they’re able to try brute forcing the password for it.

       
afarsh's avatar
afarsh
28 posts
4 years ago
afarsh's avatar afarsh

Jace, thank you for your helpful response. Makes sense and we’ll keep it as is. For other times, I am wondering if at anytime any of the system messages could be customized without changing the core code?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.