From 034039b8c05c87418a744c64c68a31bd8eb3fbf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=98=8E=E9=87=8E?= <8676207+liumingye@users.noreply.github.com> Date: Sun, 27 Oct 2024 21:39:29 +0800 Subject: [PATCH] fix(frontend): Fix Passkey login without redirection --- packages/frontend/src/components/MkSignin.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/frontend/src/components/MkSignin.vue b/packages/frontend/src/components/MkSignin.vue index 776ee20e36..5a27cd6de7 100644 --- a/packages/frontend/src/components/MkSignin.vue +++ b/packages/frontend/src/components/MkSignin.vue @@ -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({