feat : OTP verified all page
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user