Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to delete key #39

Open
diadal opened this issue Feb 27, 2020 · 1 comment
Open

how to delete key #39

diadal opened this issue Feb 27, 2020 · 1 comment

Comments

@diadal
Copy link

diadal commented Feb 27, 2020

how to remove data when encryptionSecret change rather then throw off error
I do test with default setting then later change the encryptionSecret unable to access my app till I clear all the stored data

@rapejim
Copy link

rapejim commented Jan 12, 2021

You can solve it envolving de get('key') method with a try-catch block, if it throw error then remove the key with remove('key') method.

For example, I have this on my code:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants