Skip to content
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

Notify user of secondary email address. Fixes #1291. #2130

Merged
merged 1 commit into from
Nov 15, 2023
Merged

Conversation

tompollard
Copy link
Member

As discussed in #1291, the ResetPassword form only works for primary email addresses. This is confusing for users who try to reset their password using a non-primary email address (i.e. they do not receive a password reset email, and they are unable to register because the registration form rejects the email address).

This update addresses the issue by informing the user of the primary email address linked to their account. Now, when a user tries to reset their password using a secondary email address, they receive the following email:

Subject: Primary email address on DataShare
From: PhysioNet Automated System <[email protected]>
To: [email protected]
Date: Sun, 12 Nov 2023 11:27:57 -0000

You are receiving this email because you requested a password reset
for your account at DataShare.

Only your primary email address can be used for resetting your
password. Your primary email address is [email protected].

Regards
The DataShare Team

The ResetPassword form only works for primary email addresses. This update addresses the issue by informing the user of the primary email address linked to their account.
@bemoody
Copy link
Collaborator

bemoody commented Nov 15, 2023

Looks good, thanks!

@bemoody bemoody merged commit b713147 into dev Nov 15, 2023
11 checks passed
@tompollard tompollard deleted the tp/reset_email2 branch November 15, 2023 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants