diff --git a/src/libs/actions/User.js b/src/libs/actions/User.js index ee93c6acb1e5..7482c13268e4 100644 --- a/src/libs/actions/User.js +++ b/src/libs/actions/User.js @@ -19,6 +19,7 @@ import * as ErrorUtils from '../ErrorUtils'; import * as Session from './Session'; import * as PersonalDetails from './PersonalDetails'; import * as OnyxUpdates from './OnyxUpdates'; +import redirectToSignIn from './SignInRedirect'; let currentUserAccountID = ''; let currentEmail = ''; @@ -70,6 +71,8 @@ function closeAccount(message) { ], }, ); + // Run cleanup actions to prevent reconnection callbacks from blocking logging in again + redirectToSignIn(); } /**