Hibajavítás hegyek

This commit is contained in:
2025-06-04 11:05:29 +02:00
parent 11aea1eb5d
commit 6839fc0b78
23 changed files with 284 additions and 146 deletions
+14
View File
@@ -434,4 +434,18 @@ function saveEntity(csrfToken, data, url) {
});
}
});
}
function togglePasswordVisibility() {
const passwordInput = document.getElementById("passwordInput");
const icon = document.getElementById("toggleIcon");
if (passwordInput.type === "password") {
passwordInput.type = "text";
icon.classList.remove("bi-eye");
icon.classList.add("bi-eye-slash");
} else {
passwordInput.type = "password";
icon.classList.remove("bi-eye-slash");
icon.classList.add("bi-eye");
}
}