Merge branch 'dev' of https://7o9o-lb-526275444.ap-south-1.elb.amazonaws.com/tomosa.sarkar/IB into admin
This commit is contained in:
@@ -45,8 +45,13 @@ export default function Login() {
|
||||
}
|
||||
|
||||
try {
|
||||
<<<<<<< HEAD
|
||||
// await sendOtp({ type: 'LOGIN_OTP', username: CIF, mobileNumber: mobile });
|
||||
await sendOtp({ type: 'LOGIN_OTP', username: CIF, mobileNumber: "7890544527" });
|
||||
=======
|
||||
await sendOtp({ type: 'LOGIN_OTP', username: CIF, mobileNumber: mobile });
|
||||
// await sendOtp({ type: 'LOGIN_OTP', username: CIF, mobileNumber: "6297421727" });
|
||||
>>>>>>> 9850e742fc9e2db185e3a73807bc3c84570153e7
|
||||
notifications.show({
|
||||
color: 'orange',
|
||||
title: 'OTP Required',
|
||||
@@ -67,8 +72,13 @@ export default function Login() {
|
||||
async function handleVerifyOtp(mobile?: string) {
|
||||
try {
|
||||
if (mobile) {
|
||||
<<<<<<< HEAD
|
||||
// await verifyLoginOtp(otp, mobile);
|
||||
await verifyLoginOtp(otp, '7890544527');
|
||||
=======
|
||||
await verifyLoginOtp(otp, mobile);
|
||||
// await verifyLoginOtp(otp, '6297421727');
|
||||
>>>>>>> 9850e742fc9e2db185e3a73807bc3c84570153e7
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -296,7 +306,7 @@ export default function Login() {
|
||||
message: "Internal Server Error, Please try again later",
|
||||
autoClose: 5000,
|
||||
});
|
||||
}
|
||||
}
|
||||
// finally {
|
||||
// // Ensure we always stop loader if still active
|
||||
// setIsLogging(false);
|
||||
|
||||
Reference in New Issue
Block a user