There are several potential solutions to this issue:
config/locales/devise.en.yml
file. For example:en:
errors:
messages:
user_not_found: "Sorry, we could not find a user with that email address."
Check that the email address entered by the user is valid and exists in the database before triggering the password reset email. This can be done by adding custom validation to the User
model or by using a gem like email_validator
.
Confirm that the email is actually sending by checking the logs in Heroku. If the email is not being sent, there may be an issue with the SMTP configuration in the config/environments/production.rb
file.
Check that the user is actually being redirected to the correct passwords/new
page when the reset password link is clicked. If the redirect is not working correctly, the user may end up on a different page that does not display the error message.
Update the versions of Devise and the dependent gems to the latest stable versions. This can be done by updating the Gemfile
and running bundle update
.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-05-25 02:19:38 +0000
Seen: 11 times
Last updated: May 25 '23
What does the error message "NoSuchKey... The specified key does not exist" mean in a GCP bucket?
The emulator process for the AVD has ended.
How can I resolve the issue of my website displaying a white screen?
What is the issue related to API that involves request with insufficient scope permissions?