fix: change captcha font family
This commit is contained in:
@@ -291,7 +291,7 @@ export default function ChangePassword() {
|
||||
border: "1px solid #d1d5db",
|
||||
userSelect: "none",
|
||||
textDecoration: "line-through",
|
||||
fontFamily: "cursive",
|
||||
fontFamily: "Verdana",
|
||||
}}
|
||||
>
|
||||
{captcha}
|
||||
|
||||
@@ -298,7 +298,7 @@ export default function ChangePassword() {
|
||||
border: "1px solid #d1d5db",
|
||||
userSelect: "none",
|
||||
textDecoration: "line-through",
|
||||
fontFamily: "cursive",
|
||||
fontFamily: "Verdana",
|
||||
}}
|
||||
>
|
||||
{captcha}
|
||||
|
||||
@@ -282,7 +282,7 @@ export default function SetTransactionLimit() {
|
||||
border: "1px solid #d1d5db",
|
||||
userSelect: "none",
|
||||
textDecoration: "line-through",
|
||||
fontFamily: "cursive",
|
||||
fontFamily: "Verdana",
|
||||
}}
|
||||
>
|
||||
{captcha}
|
||||
|
||||
@@ -296,7 +296,7 @@ export default function ChangePassword() {
|
||||
border: "1px solid #d1d5db",
|
||||
userSelect: "none",
|
||||
textDecoration: "line-through",
|
||||
fontFamily: "cursive",
|
||||
fontFamily: "Verdana",
|
||||
}}
|
||||
>
|
||||
{captcha}
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -361,7 +361,7 @@ export default function ChangePassword() {
|
||||
fontSize: "18px",
|
||||
textDecoration: "line-through",
|
||||
padding: "4px 8px",
|
||||
fontFamily: "cursive",
|
||||
fontFamily: "Verdana",
|
||||
}}
|
||||
>
|
||||
{captcha}
|
||||
|
||||
@@ -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",
|
||||
}}
|
||||
|
||||
@@ -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",
|
||||
}}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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",
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user