It seems we wont have fancy asterisks, for now at least

This commit is contained in:
2024-05-22 22:40:34 +01:00
parent 67fdba86f8
commit 92f1ba6529
-10
View File
@@ -59,14 +59,4 @@
console.error(error);
});
});
// Replace the dots by asterisks
loginPass = document.getElementById("login-pass")
loginPass.addEventListener("keydown", function() {
const curVal = loginPass.value;
const newVal = curVal.replace(new RegExp(curVal, 'g'), '*');
loginPass.value = newVal;
})
</script>