secure-ls icon indicating copy to clipboard operation
secure-ls copied to clipboard

how to delete key

Open diadal opened this issue 4 years ago • 1 comments

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

diadal avatar Feb 27 '20 18:02 diadal

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

rapejim avatar Jan 12 '21 08:01 rapejim