From 960b052d55eab5b0aa2cbe4f9dbb1bea2825a55f Mon Sep 17 00:00:00 2001 From: "nabanita.jana" Date: Wed, 5 Nov 2025 11:15:37 +0530 Subject: [PATCH] fix: change captcha font family --- .../settings/change_login_password/page.tsx | 6 +++--- .../(main)/settings/change_txn_password/page.tsx | 4 ++-- src/app/(main)/settings/set_txn_limit/page.tsx | 2 +- .../(main)/settings/set_txn_password/page.tsx | 4 ++-- src/app/(main)/settings/user_name/page.tsx | 10 +++++----- src/app/ChangePassword/page.tsx | 2 +- src/app/SetPassword/page.tsx | 4 ++-- src/app/SetTxn/page.tsx | 2 +- src/app/_util/otp.ts | 4 ++-- src/app/administrator/login/page.tsx | 16 ++++++++-------- src/app/eMandate/login/page.tsx | 4 ++-- src/app/login/page.tsx | 10 +++++----- 12 files changed, 34 insertions(+), 34 deletions(-) diff --git a/src/app/(main)/settings/change_login_password/page.tsx b/src/app/(main)/settings/change_login_password/page.tsx index 8202a0b..b21343b 100644 --- a/src/app/(main)/settings/change_login_password/page.tsx +++ b/src/app/(main)/settings/change_login_password/page.tsx @@ -152,7 +152,7 @@ export default function ChangePassword() { }); return; } - + setOtpValidated(true); setStep("final"); notifications.show({ @@ -175,7 +175,7 @@ export default function ChangePassword() { method: "POST", headers: { "Content-Type": "application/json", - "X-Login-Type": "IB", + "X-Login-Type": "IB", Authorization: `Bearer ${token}`, }, body: JSON.stringify({ @@ -291,7 +291,7 @@ export default function ChangePassword() { border: "1px solid #d1d5db", userSelect: "none", textDecoration: "line-through", - fontFamily: "cursive", + fontFamily: "Verdana", }} > {captcha} diff --git a/src/app/(main)/settings/change_txn_password/page.tsx b/src/app/(main)/settings/change_txn_password/page.tsx index f9e6617..1c06225 100644 --- a/src/app/(main)/settings/change_txn_password/page.tsx +++ b/src/app/(main)/settings/change_txn_password/page.tsx @@ -183,7 +183,7 @@ export default function ChangePassword() { method: "POST", headers: { "Content-Type": "application/json", - "X-Login-Type": "IB", + "X-Login-Type": "IB", Authorization: `Bearer ${token}`, }, body: JSON.stringify({ @@ -298,7 +298,7 @@ export default function ChangePassword() { border: "1px solid #d1d5db", userSelect: "none", textDecoration: "line-through", - fontFamily: "cursive", + fontFamily: "Verdana", }} > {captcha} diff --git a/src/app/(main)/settings/set_txn_limit/page.tsx b/src/app/(main)/settings/set_txn_limit/page.tsx index a0598be..b9a2d0b 100644 --- a/src/app/(main)/settings/set_txn_limit/page.tsx +++ b/src/app/(main)/settings/set_txn_limit/page.tsx @@ -282,7 +282,7 @@ export default function SetTransactionLimit() { border: "1px solid #d1d5db", userSelect: "none", textDecoration: "line-through", - fontFamily: "cursive", + fontFamily: "Verdana", }} > {captcha} diff --git a/src/app/(main)/settings/set_txn_password/page.tsx b/src/app/(main)/settings/set_txn_password/page.tsx index 5e3262a..5b67132 100644 --- a/src/app/(main)/settings/set_txn_password/page.tsx +++ b/src/app/(main)/settings/set_txn_password/page.tsx @@ -190,7 +190,7 @@ export default function ChangePassword() { method: "POST", headers: { "Content-Type": "application/json", - "X-Login-Type": "IB", + "X-Login-Type": "IB", Authorization: `Bearer ${token}`, }, body: JSON.stringify({ @@ -296,7 +296,7 @@ export default function ChangePassword() { border: "1px solid #d1d5db", userSelect: "none", textDecoration: "line-through", - fontFamily: "cursive", + fontFamily: "Verdana", }} > {captcha} diff --git a/src/app/(main)/settings/user_name/page.tsx b/src/app/(main)/settings/user_name/page.tsx index d8820ea..6dfc317 100644 --- a/src/app/(main)/settings/user_name/page.tsx +++ b/src/app/(main)/settings/user_name/page.tsx @@ -63,7 +63,7 @@ export default function SetPreferredNameSimple() { method: "GET", headers: { "Content-Type": "application/json", - "X-Login-Type": "IB", + "X-Login-Type": "IB", Authorization: `Bearer ${token}`, }, }); @@ -168,7 +168,7 @@ export default function SetPreferredNameSimple() { method: "POST", headers: { "Content-Type": "application/json", - "X-Login-Type": "IB", + "X-Login-Type": "IB", Authorization: `Bearer ${token}`, }, body: JSON.stringify({ user_name: preferredName }), @@ -215,8 +215,8 @@ export default function SetPreferredNameSimple() { }); return; } - if(preferredName !== confirmName){ - notifications.show({ + if (preferredName !== confirmName) { + notifications.show({ title: "Mismatch Input", message: "Preferred name and Confirm preferred name not same.", color: "red", @@ -330,7 +330,7 @@ export default function SetPreferredNameSimple() { border: "1px solid #d1d5db", userSelect: "none", textDecoration: "line-through", - fontFamily: "cursive", + fontFamily: "Verdana", }} > {captcha} diff --git a/src/app/ChangePassword/page.tsx b/src/app/ChangePassword/page.tsx index da545bb..1100058 100644 --- a/src/app/ChangePassword/page.tsx +++ b/src/app/ChangePassword/page.tsx @@ -361,7 +361,7 @@ export default function ChangePassword() { fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", - fontFamily: "cursive", + fontFamily: "Verdana", }} > {captcha} diff --git a/src/app/SetPassword/page.tsx b/src/app/SetPassword/page.tsx index 9a83d68..e1e79df 100644 --- a/src/app/SetPassword/page.tsx +++ b/src/app/SetPassword/page.tsx @@ -173,7 +173,7 @@ export default function SetLoginPwd() { method: 'POST', headers: { 'Content-Type': 'application/json', - 'X-Login-Type': 'IB', + 'X-Login-Type': 'IB', 'Authorization': `Bearer ${token}` }, body: JSON.stringify({ @@ -312,7 +312,7 @@ export default function SetLoginPwd() { /> - ebanking + ebanking @@ -171,7 +171,7 @@ export default function Login() { mt="sm" /> - {captcha} + {captcha} diff --git a/src/app/eMandate/login/page.tsx b/src/app/eMandate/login/page.tsx index 558b6a0..275fd18 100644 --- a/src/app/eMandate/login/page.tsx +++ b/src/app/eMandate/login/page.tsx @@ -262,7 +262,7 @@ function LoginEmandate() { /> - {captcha} + {captcha} {captcha} diff --git a/src/app/login/page.tsx b/src/app/login/page.tsx index 54cf6ab..3f4d0c5 100644 --- a/src/app/login/page.tsx +++ b/src/app/login/page.tsx @@ -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() {