mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +01:00
clear Send password if whitespace (#287)
This commit is contained in:
parent
ff9343412e
commit
301ef455f3
@ -187,6 +187,10 @@ export class AddEditComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
if (this.password != null && this.password.trim() === '') {
|
||||
this.password = null;
|
||||
}
|
||||
|
||||
const encSend = await this.encryptSend(file);
|
||||
try {
|
||||
this.formPromise = this.sendService.saveWithServer(encSend);
|
||||
|
Loading…
Reference in New Issue
Block a user