git ssb

3+

ev / decent



Commit 47b49b5a7e173f21b633d732a2645e4b4f153e4d

delete pub/priv key when delete key button is pressed

Ev Bogue committed on 11/15/2017, 10:55:04 PM
Parent: fdc82c76c1d8eed52ddfa098246f16a93c06f674

Files changed

client/modules/key.jschanged
client/modules/key.jsView
@@ -22,9 +22,9 @@
2222 h('div.message',
2323 h('h1', 'Your Key'),
2424 h('p', {innerHTML: 'Your Decent public/private key is: <pre><code>' + localStorage['/.decent/secret'] + '</code></pre>'},
2525 h('button.btn.btn-danger', {onclick: function (e){
26- localStorage['browser/.decent/secret'] = ''
26 + localStorage['/.decent/secret'] = ''
2727 alert('Your public/private key has been deleted')
2828 e.preventDefault()
2929 location.hash = ""
3030 location.reload()

Built with git-ssb-web