Browse Source

🔥 Remove unnecessary validation (#662)

pull/13907/head
Alejandra 1 year ago
committed by GitHub
parent
commit
d04f758433
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 8
      frontend/src/components/UserSettings/ChangePassword.tsx

8
frontend/src/components/UserSettings/ChangePassword.tsx

@ -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"
/> />

Loading…
Cancel
Save