Commit 47b49b5a7e173f21b633d732a2645e4b4f153e4d
delete pub/priv key when delete key button is pressed
Ev Bogue committed on 11/15/2017, 10:55:04 PMParent: fdc82c76c1d8eed52ddfa098246f16a93c06f674
Files changed
client/modules/key.js | changed |
client/modules/key.js | ||
---|---|---|
@@ -22,9 +22,9 @@ | ||
22 | 22 … | h('div.message', |
23 | 23 … | h('h1', 'Your Key'), |
24 | 24 … | h('p', {innerHTML: 'Your Decent public/private key is: <pre><code>' + localStorage['/.decent/secret'] + '</code></pre>'}, |
25 | 25 … | h('button.btn.btn-danger', {onclick: function (e){ |
26 | - localStorage['browser/.decent/secret'] = '' | |
26 … | + localStorage['/.decent/secret'] = '' | |
27 | 27 … | alert('Your public/private key has been deleted') |
28 | 28 … | e.preventDefault() |
29 | 29 … | location.hash = "" |
30 | 30 … | location.reload() |
Built with git-ssb-web