feat :VerifyOtp and SendOtp creation for "seetings", "send monet", "password expiry" and "set login and tpassword"

This commit is contained in:
2025-10-14 12:11:30 +05:30
parent 242e8d544b
commit f2235818e5
12 changed files with 224 additions and 133 deletions

View File

@@ -159,10 +159,11 @@ export default function ChangePassword() {
}
// Step 2 → validate OTP
if (step === "otp") {
if (otp !== generatedOtp) {
const verified = await handleVerifyOtp();
if (!verified) {
notifications.show({
title: "Invalid OTP",
message: "Please enter the correct OTP.",
message: "The OTP entered does not match",
color: "red",
});
return;