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>
<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…
Cancel
Save