1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 07:43:37 +00:00

clear Send password if whitespace (#1292)

* clear Send password if whitespace

* Update SendAddEditPageViewModel.cs
This commit is contained in:
Addison Beck
2021-03-01 12:07:04 -05:00
committed by GitHub
parent 6fa23475e3
commit 1098686d51

View File

@@ -337,6 +337,11 @@ namespace Bit.App.Pages
UpdateSendData();
if (string.IsNullOrWhiteSpace(NewPassword))
{
NewPassword = null;
}
var (send, encryptedFileData) = await _sendService.EncryptAsync(Send, FileData, NewPassword);
if (send == null)
{