Ajout de la possibilité de voir le mot de passe
This commit is contained in:
@@ -2,6 +2,7 @@ import { useState, useEffect } from 'react';
|
||||
import { Link, useNavigate, useSearchParams } from 'react-router-dom';
|
||||
import PasswordStrength from '../components/PasswordStrength.jsx';
|
||||
import AuthBgCol from '../components/AuthBgCol.jsx';
|
||||
import PasswordInput from '../components/PasswordInput.jsx';
|
||||
|
||||
export default function ResetPassword() {
|
||||
const [params] = useSearchParams();
|
||||
@@ -154,9 +155,9 @@ export default function ResetPassword() {
|
||||
<label style={{ fontSize: 14, fontWeight: 500, color: 'var(--text)' }}>
|
||||
Nouveau mot de passe
|
||||
</label>
|
||||
<input
|
||||
<PasswordInput
|
||||
className="form-input"
|
||||
type="password" required minLength={appInfo.minPasswordLength || 8}
|
||||
required minLength={appInfo.minPasswordLength || 8}
|
||||
autoComplete="new-password"
|
||||
placeholder="••••••••"
|
||||
value={password}
|
||||
@@ -170,9 +171,9 @@ export default function ResetPassword() {
|
||||
<label style={{ fontSize: 14, fontWeight: 500, color: 'var(--text)' }}>
|
||||
Confirmer le mot de passe
|
||||
</label>
|
||||
<input
|
||||
<PasswordInput
|
||||
className="form-input"
|
||||
type="password" required minLength={appInfo.minPasswordLength || 8}
|
||||
required minLength={appInfo.minPasswordLength || 8}
|
||||
autoComplete="new-password"
|
||||
placeholder="••••••••"
|
||||
value={password2}
|
||||
|
||||
Reference in New Issue
Block a user