Clean wrong password (avoid repeated notification)

* Add cursor pointer on notification close icon
This commit is contained in:
Corentin 2023-03-20 06:56:10 +09:00
commit 2eaa1753a0
3 changed files with 3 additions and 1 deletions

View file

@ -130,6 +130,7 @@ async function restore(storage)
} }
catch(_error) catch(_error)
{ {
state.key = null
show_error('Cannot decrypt entries: wrong password') show_error('Cannot decrypt entries: wrong password')
} }
} }

View file

@ -20,5 +20,5 @@
"storage", "storage",
"clipboardWrite" "clipboardWrite"
], ],
"version": "1.3.1" "version": "1.3.2"
} }

View file

@ -201,6 +201,7 @@ h2 {
#notification img { #notification img {
height: 1em; height: 1em;
cursor: pointer;
} }
#password-container { #password-container {