mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
clear Send password if whitespace (#287)
This commit is contained in:
@@ -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);
|
const encSend = await this.encryptSend(file);
|
||||||
try {
|
try {
|
||||||
this.formPromise = this.sendService.saveWithServer(encSend);
|
this.formPromise = this.sendService.saveWithServer(encSend);
|
||||||
|
|||||||
Reference in New Issue
Block a user