From 2338115e607108acfb9f6c14e49bc7c3d0ce4569 Mon Sep 17 00:00:00 2001 From: Fitsum Abebe Date: Wed, 22 Nov 2023 00:13:40 +0300 Subject: [PATCH] set credential to null on clearing signin data --- src/libs/actions/Session/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/actions/Session/index.ts b/src/libs/actions/Session/index.ts index ba6127801102..559f60a21c98 100644 --- a/src/libs/actions/Session/index.ts +++ b/src/libs/actions/Session/index.ts @@ -578,7 +578,7 @@ function setSupportAuthToken(supportAuthToken: string, email: string, accountID: function clearSignInData() { Onyx.multiSet({ [ONYXKEYS.ACCOUNT]: null, - [ONYXKEYS.CREDENTIALS]: {}, + [ONYXKEYS.CREDENTIALS]: null, }); }