From 034463b87b627e6a54100559ffe6cebc1cdae15d Mon Sep 17 00:00:00 2001 From: Emirkan Acar Date: Sat, 21 Sep 2019 19:32:10 +0300 Subject: [PATCH] Update auth.js --- client/src/app/actions/auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/actions/auth.js b/client/src/app/actions/auth.js index d9350f3..4262c8f 100644 --- a/client/src/app/actions/auth.js +++ b/client/src/app/actions/auth.js @@ -91,7 +91,7 @@ export function verifyEmail(props) { * Sign out */ export function signoutUser() { - localStorage.clear(); + localStorage.removeItem('user'); return { type: UNAUTH_USER,