fix(frontend): Fix Passkey login without redirection

This commit is contained in:
刘明野 2024-10-27 21:39:29 +08:00 committed by GitHub
parent a6a1e3d733
commit 034039b8c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ function onPasskeyDone(credential: AuthenticationPublicKeyCredential): void {
return;
}
emit('login', res.signinResponse);
onLoginSucceeded(res.signinResponse);
}).catch(onSigninApiError);
} else if (userInfo.value != null) {
tryLogin({