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>pull/15358/head
parent
f0d8f66eaa
commit
9d641d88b7
|
@ -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(
|
||||
email_address,
|
||||
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,
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue