-
Notifications
You must be signed in to change notification settings - Fork 11.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Password reset Cleaner text #6319
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this cannot close #6229 because the register/login button label bug was not fixed
also, this is now warning the user if the e-mail address was not found on database which is feature I think we would like to keep.
@@ -5,6 +5,9 @@ Meteor.methods({ | |||
email = email.trim(); | |||
|
|||
const user = RocketChat.models.Users.findOneByEmailAddress(email); | |||
if (!user) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can use an else
in the if
below, it will check for user
once one time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That shouldn’t be there, my bad.
As an alternative to this, some websites send an email to the address you enter either giving you instructions to reset your password if the account exists, or sends you an email saying that you haven't registered with the email. |
I liked the @alexbrazier idea |
@karlprieb @sampaiodiego Could you do a review of this pr again? I have already did the changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better than the current message
@sampaiodiego What do you think? |
@RocketChat/core
Related to #6229 (comment)