mirror of
https://github.com/RYDE-WORK/full-stack-fastapi-template.git
synced 2026-01-22 06:43:30 +08:00
🔥 Remove unnecessary validation (#662)
This commit is contained in:
parent
6d1c47e67d
commit
d04f758433
@ -66,13 +66,7 @@ const ChangePassword: React.FC = () => {
|
||||
</FormLabel>
|
||||
<Input
|
||||
id="current_password"
|
||||
{...register('current_password', {
|
||||
required: 'Password is required',
|
||||
minLength: {
|
||||
value: 8,
|
||||
message: 'Password must be at least 8 characters',
|
||||
},
|
||||
})}
|
||||
{...register('current_password')}
|
||||
placeholder="Password"
|
||||
type="password"
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user