From 9d4042cfd675be1e05c7a74ff0ffc872f025e00d Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 29 Oct 2023 15:42:36 +0000 Subject: [PATCH] Bug 35186: Remove unnecessary html tags from PASSWORD notices In HTML notices we don't need to explicitly use . 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 Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi (cherry picked from commit e772b96cacb509a54a52427262da03efd4e38015) Signed-off-by: Fridolin Somers --- installer/data/mysql/en/mandatory/sample_notices.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml index 2fcaacb3e6..2c79631299 100644 --- a/installer/data/mysql/en/mandatory/sample_notices.yml +++ b/installer/data/mysql/en/mandatory/sample_notices.yml @@ -1341,7 +1341,6 @@ tables: message_transport_type: email lang: default content: - - "" - "

This email has been sent in response to your password recovery request for the account <>." - "

" - "

" @@ -1350,8 +1349,6 @@ tables: - "

" - "

This link will be valid for 2 days from this email's reception, then you must reapply if you do not change your password.

" - "

Thank you.

" - - "" - - "" - module: members code: STAFF_PASSWORD_RESET @@ -1362,7 +1359,6 @@ tables: message_transport_type: email lang: default content: - - "" - "

A librarian has reset the password for the account <>." - "

" - "

" @@ -1371,8 +1367,6 @@ tables: - "

" - "

This link will be valid for 5 days from this email's reception, then you must reapply if you do not change your password.

" - "

Thank you.

" - - "" - - "" - module: members code: SHARE_ACCEPT -- 2.20.1