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.
/user/settings/security
1 parent 27dc8a3 commit e00179eCopy full SHA for e00179e
web_src/js/features/user-auth-webauthn.js
@@ -150,13 +150,12 @@ export function initUserAuthWebAuthnRegister() {
150
return;
151
}
152
153
- if (!detectWebAuthnSupport()) {
154
- return;
155
- }
156
-
157
$('#webauthn-error').modal({allowMultiple: false});
158
$('#register-webauthn').on('click', (e) => {
159
e.preventDefault();
+ if (!detectWebAuthnSupport()) {
+ return;
+ }
160
webAuthnRegisterRequest();
161
});
162
0 commit comments