-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Notify user of secondary email address. Fixes #1291.
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.
- Loading branch information
1 parent
cece757
commit 6abc773
Showing
3 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
physionet-django/user/templates/user/email/notify_primary_email.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{% load i18n %}{% autoescape off %}{% filter wordwrap:70 %} | ||
You are receiving this email because you requested a password reset for your account at {{ SITE_NAME }}. | ||
|
||
Only your primary email address can be used for resetting your password. Your primary email address is {{ primary_email }}. | ||
|
||
Regards | ||
The {{ SITE_NAME }} Team | ||
{% endfilter %}{% endautoescape %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters