integration de password.js à reinitialisation mdp

This commit is contained in:
2025-12-16 08:50:31 +01:00
parent 706d3ece23
commit 55a31a507c
3 changed files with 76 additions and 92 deletions

View File

@@ -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';