Skip to content

Commit 02ce713

Browse files
committed
fix: update passkey login button selector and error target
1 parent b3dbc06 commit 02ce713

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

public/js/app.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -746,8 +746,8 @@ async function setupPasskeyAutofill() {
746746
}
747747

748748
async function handlePasskeyLogin() {
749-
const btn = $('#passkey-login-btn');
750-
const errorEl = $('#login-form .auth-error');
749+
const btn = $('#login-passkey-btn');
750+
const errorEl = $('#login-email-form .auth-error');
751751
if (errorEl) errorEl.classList.remove('show');
752752

753753
btn.disabled = true;
@@ -773,7 +773,7 @@ async function handlePasskeyLogin() {
773773
}
774774
} finally {
775775
btn.disabled = false;
776-
btn.innerHTML = '<i data-lucide="fingerprint" style="width:16px;height:16px"></i> Sign in with Passkey';
776+
btn.innerHTML = '<i data-lucide="fingerprint" style="width:18px;height:18px"></i> Login with Passkey';
777777
initIcons();
778778
}
779779
}

0 commit comments

Comments
 (0)