feat: Create login page for admin.

wip: Admin user Configuration
This commit is contained in:
2025-08-08 14:57:33 +05:30
parent 3ee40cad55
commit b2e84608c3
13 changed files with 945 additions and 18 deletions

View File

@@ -11,6 +11,7 @@ import {
Group,
Radio,
Text,
PasswordInput,
} from '@mantine/core';
import { notifications } from '@mantine/notifications';
import AddBeneficiaryOthers from './addBeneficiaryOthers';
@@ -253,9 +254,9 @@ const AddBeneficiary: React.FC = () => {
// disabled={isVisibilityLocked}
readOnly={isVisibilityLocked}
required
// onCopy={(e) => e.preventDefault()}
// onPaste={(e) => e.preventDefault()}
// onCut={(e) => e.preventDefault()}
onCopy={(e) => e.preventDefault()}
onPaste={(e) => e.preventDefault()}
onCut={(e) => e.preventDefault()}
/>
{validationStatus === "error" && (
@@ -294,7 +295,7 @@ const AddBeneficiary: React.FC = () => {
{otpSent && (
<>
<Grid.Col span={3}>
<TextInput
<PasswordInput
label="Enter OTP"
placeholder="Enter OTP"
value={otp}