Skip to content

Commit

Permalink
do not save authInfo to localstorage, always fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
ruddell committed Nov 22, 2021
1 parent 03f592b commit e1c741b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/app/templates/app/config/redux-persist.js.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const REDUX_PERSIST = {
storeConfig: {
key: 'primary',
storage: AsyncStorage,
blacklist: ['appState'], // reducer keys that you do NOT want stored to persistence here
blacklist: ['appState', 'authInfo'], // reducer keys that you do NOT want stored to persistence here
// whitelist: [], Optionally, just specify the keys you DO want stored to
// persistence. An empty array means 'don't store any reducers' -> infinitered/ignite#409
transforms: [immutablePersistenceTransform]
Expand Down

0 comments on commit e1c741b

Please sign in to comment.