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.
1 parent a51cf36 commit cbf3aacCopy full SHA for cbf3aac
passkeys/templates/passkeys.js
@@ -86,6 +86,12 @@ function tryLogin(formid)
86
console.log(options)
87
return navigator.credentials.get(options);
88
}).then(function(assertion) {
89
+ if (assertion.type == "password"){
90
+ $("#inputUsername").val(assertion.id);
91
+ $("#inputPassword").val(assertion.password);
92
+ $("#" + window.loginForm).submit();
93
+ return;
94
+ }
95
pk = $("#passkeys")
96
if (pk.length == 0)
97
{
0 commit comments