Fix passkey login on non-HTTPS connections
Deploy Dashboard / deploy (push) Successful in 32s

This commit is contained in:
Gan, Jimmy
2026-02-22 16:52:27 +08:00
parent bf15dad061
commit b8733f31f9
+1 -1
View File
@@ -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, '/');