-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improves password reset email templates, fixes #326
- Loading branch information
Showing
3 changed files
with
15 additions
and
12 deletions.
There are no files selected for viewing
11 changes: 6 additions & 5 deletions
11
aurora/bag_transfer/templates/users/password_initial_set_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 |
---|---|---|
@@ -1,11 +1,12 @@ | ||
{% autoescape off %} | ||
A new account was created for you in Aurora. | ||
A new account with the username "{{ user.get_username }}" was created for you in Aurora. | ||
|
||
In order to log in to your {{ user.get_username }} Aurora account, | ||
you'll need to set your password by clicking on the link below: | ||
Please set your password by clicking on the link below, or copying and pasting the URL into your browser: | ||
|
||
{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %} | ||
|
||
If clicking the link above doesn't work, please copy and paste the URL in a new browser | ||
window instead. | ||
This link will expire in 24 hours. | ||
|
||
If this link has already expired, simply go to {{ protocol }}://{{ domain }}{% url 'password_reset' %}, and enter | ||
your email address to receive a new link. | ||
{% endautoescape %} |
13 changes: 8 additions & 5 deletions
13
aurora/bag_transfer/templates/users/password_reset_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 |
---|---|---|
@@ -1,13 +1,16 @@ | ||
{% autoescape off %} | ||
Somebody (probably you) asked to reset your password for Aurora. | ||
Somebody (probably you) asked to reset the password for the Aurora account with | ||
the username {{ user.get_username }}. | ||
|
||
To initiate the password reset process for your {{ user.get_username }} Aurora account, | ||
click the link below: | ||
To initiate the password reset process click the link below, or copy and paste | ||
the URL into a browser: | ||
|
||
{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %} | ||
|
||
If clicking the link above doesn't work, please copy and paste the URL in a new browser | ||
window instead. | ||
This link will expire in 24 hours. | ||
|
||
If this link has already expired, simply go to {{ protocol }}://{{ domain }}{% url 'password_reset' %}, and enter | ||
your email address to receive a new link. | ||
|
||
If this email was sent in error, please ignore this request. | ||
{% 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