feat : OTP verified all page

This commit is contained in:
2025-10-14 13:00:54 +05:30
12 changed files with 227 additions and 136 deletions

View File

@@ -50,10 +50,10 @@ export default function Login() {
// await sendOtp({ type: 'LOGIN_OTP', username: CIF, mobileNumber: mobile });
await sendOtp({ type: 'LOGIN_OTP', username: CIF, mobileNumber: '7890544527' });
notifications.show({
color: "orange",
title: "OTP Required",
message: "OTP sent to your registered mobile number",
});
color: "orange",
title: "OTP Required",
message: "OTP sent to your registered mobile number",
});
return true;
}
catch (err: any) {
@@ -70,7 +70,7 @@ export default function Login() {
try {
if (mobile) {
// await verifyLoginOtp(otp, mobile);
await verifyLoginOtp(otp, '7890544527');
await verifyLoginOtp(otp, '6297421727');
return true;
}
} catch {