Ajout de la possibilité de voir le mot de passe
This commit is contained in:
@@ -3,6 +3,7 @@ import { Link, useNavigate } from 'react-router-dom';
|
||||
import { useAuth } from '../context/AuthContext.jsx';
|
||||
import PasswordStrength from '../components/PasswordStrength.jsx';
|
||||
import AuthBgCol from '../components/AuthBgCol.jsx';
|
||||
import PasswordInput from '../components/PasswordInput.jsx';
|
||||
|
||||
export default function Register() {
|
||||
const { register } = useAuth();
|
||||
@@ -178,9 +179,9 @@ export default function Register() {
|
||||
<label style={{ fontSize: 14, fontWeight: 500, color: 'var(--text)' }}>
|
||||
Mot de passe
|
||||
</label>
|
||||
<input
|
||||
<PasswordInput
|
||||
className="form-input"
|
||||
type="password" required
|
||||
required
|
||||
minLength={appInfo.minPasswordLength || 8}
|
||||
autoComplete="new-password"
|
||||
placeholder="••••••••"
|
||||
|
||||
Reference in New Issue
Block a user