diff --git a/client/html/auth.html b/client/html/auth.html index 0010f4bc..f45ae000 100644 --- a/client/html/auth.html +++ b/client/html/auth.html @@ -134,6 +134,16 @@ .checkbox-wrapper input[type="checkbox"] { margin: 0; } + + .password-field { + display: flex; + gap: 0.5rem; + align-items: center; + } + + .password-field input { + flex: 1; + } @@ -160,7 +170,10 @@
- +
+ + +
{ + const showPassword = passwordInput.type === "password"; + passwordInput.type = showPassword ? "text" : "password"; + togglePasswordButton.textContent = showPassword ? "Hide" : "Show"; +}); + document.getElementById("login").addEventListener("submit", (e) => { const enableEncryption = document.getElementById('clientEncryption').checked; const params = new URLSearchParams();