🔥 Remove unnecessary validation (#662)
This commit is contained in:
@@ -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"
|
||||
/>
|
||||
|
Reference in New Issue
Block a user