Skip to content

Commit

Permalink
Merge pull request #271 from Build-Squad/mudit/eng-218-replace-email-…
Browse files Browse the repository at this point in the history
…template-for-email-verify-for-business

Update email verification message in OTPAuthV2 view
  • Loading branch information
varsha1305nav authored Mar 26, 2024
2 parents d5599f2 + bd71dd5 commit df8fa5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/api/marketplace/accounts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1290,9 +1290,9 @@ def post(self, request):
user.save()

sendEmail.delay(
"OTP for login to Xfluencer",
"OTP for email verification",
"Your OTP is " + str(otp),
"loginEmail.html",
"verifyEmail.html",
{"otp": otp, "target": config("FRONT_END_URL")},
[request.data["email"]],
)
Expand Down
2 changes: 1 addition & 1 deletion src/ui/src/components/verifyEmailModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export default function VerifyEmailModal({
fullWidth
onClick={verifyOTP}
>
Login
Submit
</Button>
<Typography
variant="subtitle2"
Expand Down

0 comments on commit df8fa5c

Please sign in to comment.