We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
detectWebAuthnSupport
1 parent 2f1cb1d commit bbd1476Copy full SHA for bbd1476
web_src/js/features/user-auth-webauthn.ts
@@ -5,6 +5,10 @@ import {GET, POST} from '../modules/fetch.ts';
5
const {appSubUrl} = window.config;
6
7
export async function initUserAuthWebAuthn() {
8
+ if (!document.querySelector('.user.signin')) {
9
+ return;
10
+ }
11
+
12
if (!detectWebAuthnSupport()) {
13
return;
14
}
0 commit comments