Merge pull request '"OTP Sent Successfully" Message Displayed After Sending OTP' (#224) from Kartik_Bug#625 into Issues_Jun_3W

Reviewed-on: #224
This commit is contained in:
Vikas Nale 2025-07-01 09:34:14 +00:00
commit 50f941aef6

View File

@ -53,6 +53,7 @@ const LoginPage = () => {
navigate("/dashboard");
} else {
await AuthRepository.sendOTP({ email: data.username });
showToast("OTP has been sent to your email.", "success");
localStorage.setItem("otpUsername", data.username);
localStorage.setItem("otpSentTime", now.toString());
navigate("/auth/login-otp");