fix #1350: clearing master password after auto lock period

This commit is contained in:
antelle 2020-04-23 18:47:46 +02:00
parent 243c962667
commit e568d06b02
No known key found for this signature in database
GPG Key ID: 094A2F2D6136A4EE
2 changed files with 7 additions and 0 deletions

View File

@ -73,6 +73,7 @@ class OpenView extends View {
this.once('remove', () => {
this.passwordInput.reset();
});
this.listenTo(Events, 'user-idle', this.userIdle);
}
render() {
@ -968,6 +969,11 @@ class OpenView extends View {
});
this.views.gen = generator;
}
userIdle() {
this.inputEl.val('');
this.passwordInput.reset();
}
}
export { OpenView };

View File

@ -5,6 +5,7 @@ Release notes
`+` #1400: auto-apply tag when creating new entry in tag view
`+` #1342: hint that the data will be stored in unencrypted form after exporting
`*` #1471: WebDAV url validation, only HTTPS is allowed
`+` #1350: clearing master password after auto lock period
`-` fix #1463: copying the original url instead of adding https:
##### v1.14.0 (2020-04-18)