Skip to content

Commit

Permalink
fix: set cookies when mfa challenge is verified
Browse files Browse the repository at this point in the history
  • Loading branch information
J0 authored Jul 2, 2024
1 parent 8dae532 commit 9639797
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/createServerClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ export function createServerClient<
(event === "SIGNED_IN" ||
event === "TOKEN_REFRESHED" ||
event === "USER_UPDATED" ||
event === "SIGNED_OUT")
event === "SIGNED_OUT" ||
event === "MFA_CHALLENGE_VERIFIED")
) {
await applyServerStorage(
{ getAll, setAll, setItems, removedItems },
Expand Down

0 comments on commit 9639797

Please sign in to comment.