Bug 53227 - Make Subject of self service mails configurable (via UCR)
Make Subject of self service mails configurable (via UCR)
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Self Service
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 5.0-2-errata
Assigned To: Johannes Lohmer
Florian Best
https://git.knut.univention.de/univen...
:
Depends on:
Blocks: 55028
  Show dependency treegraph
 
Reported: 2021-05-05 11:22 CEST by Dirk Schnick
Modified: 2022-07-25 17:00 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2021050321000371
Bug group (optional): bitesize, External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Schnick univentionstaff 2021-05-05 11:22:38 CEST
A customer wants to customize the reset mails of the self service. Body works fine but as far as I an see in the code the subject is hard coded.

/usr/lib/python2.7/dist-packages/univention/management/console/modules/passwordreset/sending/send_email.py -> line 114

msg["Subject"] = "Password reset"

It would be fine if this is also customizable via UCR like the body.
Comment 1 Moritz Bunkus 2022-06-14 11:28:49 CEST
Same for one of our customers. They translated the body texts into German; therefore having German subjects would be really good to have.
Comment 3 Johannes Lohmer univentionstaff 2022-07-14 19:08:16 CEST
The email subject of the self-service password reset email is now
configurable via the UCR variable `umc/self-service/passwordreset/email/subject`.

I also added a Test which sets a custom mail subject and validates that the mail actually contains that subject

univention-self-service (5.0.2-2)
dcad69feeda0 | Bug #53227 make self-service password reset header configuarble via UCR

univention-management-console-module-appcenter (4.0.0-4)
r53227 | Bug #35683: Update local files after extracting initial archive

ucs-test (10.0.7-6)
9051c214501e | Bug #53227: [ucs-test] self-service add mail subject test into reset_via_email test
2e6d85436466 | Bug #53227: [ucs-test] migrate self-service test_reset_via_email to pytest
0b371e947e06 | Bug #53227: [ucs-test] rename self-service test_reset_via_email to .py
Comment 4 Florian Best univentionstaff 2022-07-15 14:40:42 CEST
OK: subject configurable via UCR variable umc/self-service/passwordreset/email/subject
OK: YAML