mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-26 19:46:58 -05:00
Fix missing app variable in mail subject for password resets (#15352)
* Update mailer.py Fix `KeyError: 'app'` * Create 15352.bugfix Signed-off-by: Cyberes <cyberes@evulid.cc> --------- Signed-off-by: Cyberes <cyberes@evulid.cc>
This commit is contained in:
parent
f0d8f66eaa
commit
9d641d88b7
1
changelog.d/15352.bugfix
Normal file
1
changelog.d/15352.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix missing app variable in mail subject for password resets. Contributed by Cyberes.
|
@ -149,7 +149,7 @@ class Mailer:
|
|||||||
await self.send_email(
|
await self.send_email(
|
||||||
email_address,
|
email_address,
|
||||||
self.email_subjects.password_reset
|
self.email_subjects.password_reset
|
||||||
% {"server_name": self.hs.config.server.server_name},
|
% {"server_name": self.hs.config.server.server_name, "app": self.app_name},
|
||||||
template_vars,
|
template_vars,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user