Skip to content

Commit

Permalink
Merge pull request #6 from zippiehq/dev
Browse files Browse the repository at this point in the history
Made wipe delete entire local storage.
  • Loading branch information
stskeeps committed May 20, 2018
2 parents 0548546 + 98c28a1 commit eac23c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ async function setup() {
// - start a signup process and afterwards launch a uri as linked
if (location.hash.startsWith('#wipe=')) {
if (confirm('Do you really want to wipe Zipper Vault? May cause data loss or money lost') == true) {
store.remove('vaultSetup')
store.clearAll()
alert('Vault wiped')
}
} else if (location.hash.startsWith('#iframe=')) {
Expand Down

0 comments on commit eac23c7

Please sign in to comment.