forked from rero/rero-ils
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
notification: improve password reset notifications
* Improves reset instruction notification. * Adds a custom template for reset notice notification. * Closes rero#1387. Co-Authored-by: Alicia Zangger <alicia.zangger@rero.ch>
- Loading branch information
Alicia Zangger
committed
Jan 5, 2021
1 parent
2979cdf
commit 4a2dfe6
Showing
2 changed files
with
21 additions
and
3 deletions.
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
16 changes: 14 additions & 2 deletions
16
rero_ils/theme/templates/security/email/reset_instructions.txt
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,3 +1,15 @@ | ||
{{ _('Click the link below to reset your password:') }} | ||
|
||
{{ reset_link.replace('/api', '') }} | ||
SUBJECT: RERO ID password reset | ||
|
||
{{ _('Dear patron') }}, | ||
|
||
{{ _('Someone requested that the password for your RERO ID account be reset.') }} | ||
|
||
{{ _('Reset my password:') }} {{ reset_link.replace('/api', '') }} | ||
|
||
{{ _('If you didn't request this, you can ignore this e-mail. Your password won't change until you create a new password.') }} | ||
|
||
{{ _('Best regards') }} | ||
|
||
{{ _('Your library') }} | ||
http:://ils.test.rero.ch/ |