fix: change captcha font family

This commit is contained in:
2025-11-05 11:15:37 +05:30
parent 8801d56d3d
commit 960b052d55
12 changed files with 34 additions and 34 deletions

View File

@@ -291,7 +291,7 @@ export default function ChangePassword() {
border: "1px solid #d1d5db",
userSelect: "none",
textDecoration: "line-through",
fontFamily: "cursive",
fontFamily: "Verdana",
}}
>
{captcha}

View File

@@ -298,7 +298,7 @@ export default function ChangePassword() {
border: "1px solid #d1d5db",
userSelect: "none",
textDecoration: "line-through",
fontFamily: "cursive",
fontFamily: "Verdana",
}}
>
{captcha}

View File

@@ -282,7 +282,7 @@ export default function SetTransactionLimit() {
border: "1px solid #d1d5db",
userSelect: "none",
textDecoration: "line-through",
fontFamily: "cursive",
fontFamily: "Verdana",
}}
>
{captcha}

View File

@@ -296,7 +296,7 @@ export default function ChangePassword() {
border: "1px solid #d1d5db",
userSelect: "none",
textDecoration: "line-through",
fontFamily: "cursive",
fontFamily: "Verdana",
}}
>
{captcha}

View File

@@ -215,7 +215,7 @@ export default function SetPreferredNameSimple() {
});
return;
}
if(preferredName !== confirmName){
if (preferredName !== confirmName) {
notifications.show({
title: "Mismatch Input",
message: "Preferred name and Confirm preferred name not same.",
@@ -330,7 +330,7 @@ export default function SetPreferredNameSimple() {
border: "1px solid #d1d5db",
userSelect: "none",
textDecoration: "line-through",
fontFamily: "cursive",
fontFamily: "Verdana",
}}
>
{captcha}

View File

@@ -361,7 +361,7 @@ export default function ChangePassword() {
fontSize: "18px",
textDecoration: "line-through",
padding: "4px 8px",
fontFamily: "cursive",
fontFamily: "Verdana",
}}
>
{captcha}

View File

@@ -312,7 +312,7 @@ export default function SetLoginPwd() {
/>
<Group mt="sm" align="center">
<Box style={{
backgroundColor: "#fff", fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", fontFamily: "cursive",
backgroundColor: "#fff", fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", fontFamily: "Verdana",
userSelect: "none",
pointerEvents: "none",
}}

View File

@@ -336,7 +336,7 @@ export default function SetTransactionPwd() {
{/* CAPTCHA */}
<Group mt="sm" align="center">
<Box style={{
backgroundColor: "#fff", fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", fontFamily: "cursive",
backgroundColor: "#fff", fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", fontFamily: "Verdana",
userSelect: "none",
pointerEvents: "none",
}}

View File

@@ -14,8 +14,8 @@ interface SendOtpPayload {
}
function getStoredMobileNumber(): string {
// const mobileNumber = localStorage.getItem('remitter_mobile_no');
const mobileNumber = "7890544527";
const mobileNumber = localStorage.getItem('remitter_mobile_no');
// const mobileNumber = "7890544527";
if (!mobileNumber) throw new Error('Mobile number not found.');
return mobileNumber;
}

View File

@@ -171,7 +171,7 @@ export default function Login() {
mt="sm"
/>
<Group mt="sm" align="center">
<Box style={{ backgroundColor: "#fff", fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", fontFamily: "cursive" }}>{captcha}</Box>
<Box style={{ backgroundColor: "#fff", fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", fontFamily: "Verdana" }}>{captcha}</Box>
<Button size="xs" variant="light" onClick={regenerateCaptcha}>Refresh</Button>
</Group>

View File

@@ -262,7 +262,7 @@ function LoginEmandate() {
/>
<Group mt="sm" align="center">
<Box style={{ backgroundColor: "#fff", fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", fontFamily: "cursive" }}>{captcha}</Box>
<Box style={{ backgroundColor: "#fff", fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", fontFamily: "Verdana" }}>{captcha}</Box>
<Button size="xs" variant="light" onClick={regenerateCaptcha}>Refresh</Button>
</Group>
<TextInput
@@ -328,7 +328,7 @@ function LoginEmandate() {
fontSize: "16px",
textDecoration: "line-through",
padding: "4px 8px",
fontFamily: "cursive",
fontFamily: "Verdana",
}}
>
{captcha}

View File

@@ -45,8 +45,8 @@ export default function Login() {
}
try {
// 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: "7890544527" });
notifications.show({
color: 'orange',
title: 'OTP Required',
@@ -67,8 +67,8 @@ export default function Login() {
async function handleVerifyOtp(mobile?: string) {
try {
if (mobile) {
// await verifyLoginOtp(otp, mobile);
await verifyLoginOtp(otp, '7890544527');
await verifyLoginOtp(otp, mobile);
// await verifyLoginOtp(otp, '7890544527');
return true;
}
}
@@ -563,7 +563,7 @@ export default function Login() {
</Box>
<Group align="center">
<Box style={{
backgroundColor: "#fff", fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", fontFamily: "cursive",
backgroundColor: "#fff", fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", fontFamily: "Verdana",
userSelect: "none",
pointerEvents: "none",
}}