feat: Enhances email details for registration requests
Includes the supplied registration reason in the email notification to provide more context for admin approval.
This commit is contained in:
parent
173d709678
commit
e1452a8a10
1 changed files with 1 additions and 1 deletions
|
@ -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],
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue