From e1452a8a1018ac97816cd83fb581d33a1e3a4230 Mon Sep 17 00:00:00 2001 From: Kumi Date: Sun, 1 Dec 2024 12:37:48 +0100 Subject: [PATCH] feat: Enhances email details for registration requests Includes the supplied registration reason in the email notification to provide more context for admin approval. --- src/synapse_registration/registration/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/synapse_registration/registration/views.py b/src/synapse_registration/registration/views.py index 54f302d..c0e3557 100644 --- a/src/synapse_registration/registration/views.py +++ b/src/synapse_registration/registration/views.py @@ -209,7 +209,7 @@ class CompleteRegistrationView(FormView): send_mail( "New Registration Request", - f"Approve the new user {username}", + f"Approve the new user {username}\n\nSupplied reason: {registration_reason}", settings.DEFAULT_FROM_EMAIL, [settings.ADMIN_EMAIL], )