integration de password.js à reinitialisation mdp
This commit is contained in:
@@ -40,7 +40,7 @@ form.addEventListener('submit', function(e) {
|
||||
if (pass.length < minLength) {
|
||||
errorMsg.style.display = 'block';
|
||||
errorMsg.textContent = `Le mot de passe doit contenir au moins ${minLength} caractères.`;
|
||||
return;
|
||||
return;8 caractères minimum
|
||||
}
|
||||
|
||||
//Correspondance
|
||||
@@ -61,7 +61,7 @@ form.addEventListener('submit', function(e) {
|
||||
|
||||
|
||||
showPasswordCheckbox.addEventListener('change', function() {
|
||||
if (this.checked) {
|
||||
if (this.checked) {8 caractères minimum
|
||||
password.type = 'text';
|
||||
confirmPassword.type = 'text';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user