mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-30 01:12:39 +00:00
Avoid persisting generated keys without passphrase
This commit is contained in:
1 parent
d7d2a5ed75
commit
b186e216ed
1 file changed
+1
-1
@@ -1696,7 +1696,7 @@ export default class LoginModalController {
|
||||
if (loginBtn) {
|
||||
loginBtn.addEventListener("click", () => {
|
||||
// Return credentials compatible with nsec provider
|
||||
finish({ secret: nsec || hexSk, persist: true });
|
||||
finish({ secret: nsec || hexSk, persist: false });
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user