mirror of
https://github.com/ichsankurnia/hats-app.git
synced 2026-12-05 10:56:28 +00:00
Update FormChangePassword.tsx
This commit is contained in:
@@ -73,7 +73,7 @@ export default function FormChangePassword({ data, onCancel }: Props) {
|
||||
<div className="grid gap-2">
|
||||
<Label htmlFor="old_password">Old password</Label>
|
||||
<Form.Item name='old_password' rules={[
|
||||
{ required: true, message: 'This field is required' }, { min: 5 }
|
||||
{ required: true, message: 'This field is required' }, { min: 3 }
|
||||
]}>
|
||||
<Input.Password className="input" type="password" id="old_password" placeholder="********" />
|
||||
</Form.Item>
|
||||
|
||||
Reference in New Issue
Block a user