From 7736c50acbfb508045859686ac65a5863c0781b2 Mon Sep 17 00:00:00 2001 From: bjoern-m Date: Tue, 7 Nov 2023 12:07:18 +0100 Subject: [PATCH] fix(elements): reload the profile after passkey creation --- frontend/elements/src/contexts/AppProvider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/elements/src/contexts/AppProvider.tsx b/frontend/elements/src/contexts/AppProvider.tsx index d0f3417d7..a463e2247 100644 --- a/frontend/elements/src/contexts/AppProvider.tsx +++ b/frontend/elements/src/contexts/AppProvider.tsx @@ -145,7 +145,7 @@ const AppProvider = ({ hanko.onUserDeleted(init); break; case "profile": - hanko.onSessionCreated(init); + hanko.onAuthFlowCompleted(init); break; } }, [componentName, hanko, init]);