Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/weak-weeks-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ type DeleteUserFormProps = FormProps;
export const DeleteUserForm = withCardStateProvider((props: DeleteUserFormProps) => {
const { onReset } = props;
const card = useCardState();
const { afterSignOutUrl, afterMultiSessionSingleSignOutUrl } = useSignOutContext();
const {
afterSignOutUrl,
afterMultiSessionSingleSignOutUrl,
// navigateAfterSignOut
} = useSignOutContext();
const { user } = useUser();
const { t } = useLocalizations();
const { otherSessions } = useMultipleSessions({ user });
Expand Down Expand Up @@ -40,6 +44,7 @@ export const DeleteUserForm = withCardStateProvider((props: DeleteUserFormProps)

return await setActive({
session: null,
// beforeEmit: navigateAfterSignOut
redirectUrl,
});
} catch (e) {
Expand Down
Loading