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

@@ -12,12 +12,12 @@ interface SendOtpPayload {
ref?: string;
date?: string;
userOtp?: string;
username?:string
username?: string
}
function getStoredMobileNumber(): string | null {
// const mobileNumber = localStorage.getItem('remitter_mobile_no');
const mobileNumber = "7890544527";
const mobileNumber = "6297421727";
if (!mobileNumber) {
notifications.show({
title: 'Missing Mobile Number',
@@ -59,7 +59,7 @@ export async function verifyOtp(otp: string) {
}
}
export async function verifyLoginOtp(otp: string,mobileNumber:string) {
export async function verifyLoginOtp(otp: string, mobileNumber: string) {
try {
// const mobileNumber = getStoredMobileNumber();
const response = await axios.post(