🔥 Remove unnecessary validation (#662)
This commit is contained in:
@@ -66,13 +66,7 @@ const ChangePassword: React.FC = () => {
|
|||||||
</FormLabel>
|
</FormLabel>
|
||||||
<Input
|
<Input
|
||||||
id="current_password"
|
id="current_password"
|
||||||
{...register('current_password', {
|
{...register('current_password')}
|
||||||
required: 'Password is required',
|
|
||||||
minLength: {
|
|
||||||
value: 8,
|
|
||||||
message: 'Password must be at least 8 characters',
|
|
||||||
},
|
|
||||||
})}
|
|
||||||
placeholder="Password"
|
placeholder="Password"
|
||||||
type="password"
|
type="password"
|
||||||
/>
|
/>
|
||||||
|
Reference in New Issue
Block a user