Add login.js

This commit is contained in:
Moe Poi ~ 2021-11-10 12:01:15 +07:00
parent bb3bc3bded
commit 82eab88088

8
public/js/login.js Normal file
View file

@ -0,0 +1,8 @@
function revealhidePassword() {
const x = document.getElementById("exampleDropdownFormPassword1");
if (x.type === "password") {
x.type = "text";
} else {
x.type = "password";
}
}