-
Notifications
You must be signed in to change notification settings - Fork 303
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
fix issue 1774 #1775
fix issue 1774 #1775
Conversation
…nction to properly render html, updated unit test
…fixed loadUser function
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.
LGTM you can merge
I think the message should say the email is sent 'to' the associated account, not from as that doesn't make sense. |
Thanks. Done |
@@ -123,7 +123,10 @@ class PasswordResetEmailRequest extends AuthRequest { | |||
return this.accountManager.accountExists(username) | |||
.then(exists => { | |||
if (!exists) { | |||
throw new Error('Account not found for that username') | |||
// For security reason avoid leaking error information |
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.
Merged too quickly!
// For security reason avoid leaking error information | |
// For security reasons, avoid leaking error information |
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.
Thanks
changed account manager error checking, changed loadUser function to properly render html, updated unit test