Skip to content

Commit

Permalink
feat(store): blacklist everything but auth from persistent storage (#661
Browse files Browse the repository at this point in the history
)

* feat(store): blacklist everything but auth from persistent storage

* refactor: Use whitelist instead of blacklist
  • Loading branch information
machour authored and Houssein Djirdeh committed Dec 10, 2017
1 parent ebfb02c commit 4bcee46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion App.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class App extends Component {
{
storage: AsyncStorage,
transforms: [encryptor],
blacklist: ['user'],
whitelist: ['auth'],
},
() => {
this.setState({ rehydrated: true });
Expand Down

0 comments on commit 4bcee46

Please sign in to comment.