diff --git a/src/libs/actions/Session/index.ts b/src/libs/actions/Session/index.ts index de478f489011..6a0f53c3d058 100644 --- a/src/libs/actions/Session/index.ts +++ b/src/libs/actions/Session/index.ts @@ -190,11 +190,10 @@ function signOutAndRedirectToSignIn(shouldReplaceCurrentScreen?: boolean, should if (!isAnonymousUser()) { // We'll only call signOut if we're not stashing the session and this is not a supportal session, // otherwise we'll call the API to invalidate the autogenerated credentials used for infinite - // session. SignOut also clears the storage, so we can just return after calling it. + // session. const isSupportal = isSupportAuthToken(); if (!isSupportal && !shouldStashSession) { signOut(); - return; } // The function redirectToSignIn will clear the whole storage, so let's create our onyx params