diff --git a/dashboard/frontend/src/routes/Login.svelte b/dashboard/frontend/src/routes/Login.svelte index 79f33d1..98ccf11 100644 --- a/dashboard/frontend/src/routes/Login.svelte +++ b/dashboard/frontend/src/routes/Login.svelte @@ -8,7 +8,7 @@ let error = $state(""); let loading = $state(false); let require2FA = $state(false); - let showPasswordForm = $state(false); + let showPasswordForm = $state(!window.isSecureContext); function base64urlToBuffer(b64) { const s = b64.replace(/-/g, '+').replace(/_/g, '/');