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 commite772b96cac
) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commit9d4042cfd6
) Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
parent
5ae7da9352
commit
ea5c6354bc
1 changed files with 0 additions and 6 deletions
|
@ -1176,7 +1176,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>"
|
||||
|
@ -1185,8 +1184,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
|
||||
|
@ -1197,7 +1194,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>"
|
||||
|
@ -1206,8 +1202,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