Bug 35186: Remove unnecessary html tags from PASSWORD notices
In HTML notices we don't need to explicitly use <html></html>.
This removes them from the 2 notices using them:
* PASSWORD_RESET
* STAFF_PASSWORD_RESET
To test:
* Apply patch
* Make sure your Koha can send email (set up SMTP server, KohaAdminLibraryAddress)
* Make sure your patron has an email set
* In patron account, use "More > Send password reset"
* Log out
* In the OPAC, request password reset ("forgot your password?")
* Verify both notices appear nicely formatted (line breaks, bold, etc.)
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit e772b96cac
)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
e5d014de8c
commit
9d4042cfd6
1 changed files with 0 additions and 6 deletions
|
@ -1341,7 +1341,6 @@ tables:
|
|||
message_transport_type: email
|
||||
lang: default
|
||||
content:
|
||||
- "<html>"
|
||||
- "<p>This email has been sent in response to your password recovery request for the account <strong><<user>></strong>."
|
||||
- "</p>"
|
||||
- "<p>"
|
||||
|
@ -1350,8 +1349,6 @@ tables:
|
|||
- "</p>"
|
||||
- "<p>This link will be valid for 2 days from this email's reception, then you must reapply if you do not change your password.</p>"
|
||||
- "<p>Thank you.</p>"
|
||||
- "</html>"
|
||||
- ""
|
||||
|
||||
- module: members
|
||||
code: STAFF_PASSWORD_RESET
|
||||
|
@ -1362,7 +1359,6 @@ tables:
|
|||
message_transport_type: email
|
||||
lang: default
|
||||
content:
|
||||
- "<html>"
|
||||
- "<p>A librarian has reset the password for the account <strong><<user>></strong>."
|
||||
- "</p>"
|
||||
- "<p>"
|
||||
|
@ -1371,8 +1367,6 @@ tables:
|
|||
- "</p>"
|
||||
- "<p>This link will be valid for 5 days from this email's reception, then you must reapply if you do not change your password.</p>"
|
||||
- "<p>Thank you.</p>"
|
||||
- "</html>"
|
||||
- ""
|
||||
|
||||
- module: members
|
||||
code: SHARE_ACCEPT
|
||||
|
|
Loading…
Reference in a new issue