Skip to content
This repository was archived by the owner on Jun 10, 2021. It is now read-only.

Commit 57b76fd

Browse files
committed
Fix reset user token
1 parent 7c4f1bf commit 57b76fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/stores/account-store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ const controller = {
249249
},
250250

251251
setUser(user) {
252-
if (!store.model && user) {
252+
if (user) {
253253
store.model = user;
254254
store.organisation = user && user.organisations && user.organisations[0];
255255
AsyncStorage.setItem('user', JSON.stringify(store.model));

0 commit comments

Comments
 (0)