fix #1779: don't copy passwords from the inline genertor in fields

pull/1856/head
antelle 2 years ago
parent 09fe1a4649
commit 6672b60d0f
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C

@ -175,10 +175,12 @@ class GeneratorView extends View {
}
btnOkClick() {
if (!CopyPaste.simpleCopy) {
CopyPaste.createHiddenInput(this.password);
if (this.model.copy) {
if (!CopyPaste.simpleCopy) {
CopyPaste.createHiddenInput(this.password);
}
CopyPaste.copy(this.password);
}
CopyPaste.copy(this.password);
this.emit('result', this.password);
this.remove();
}

Loading…
Cancel
Save