feat(contact us): landing page contact support through email

This commit is contained in:
bobbyvish
2024-05-16 17:49:59 +05:30
parent e4ee75c7ee
commit bbc01addda
7 changed files with 193 additions and 3 deletions

View File

@@ -167,7 +167,7 @@ class OtpRequestView(APIView):
# Send the email
try:
email_service.load_template(
"module_auth/email_template.html", context={"code": otp_code, "name": principal.first_name}
"module_auth/otp_email_template.html", context={"code": otp_code, "name": principal.first_name}
)
email_service.send()
except Exception as e: