Alejandra
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
7 deletions
-
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" |
|
|
|
/> |
|
|
|