1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-12 22:33:25 +00:00

dont try to fill unless has username and password

This commit is contained in:
Kyle Spearrin
2018-10-07 07:40:44 -04:00
parent 8632f7cadc
commit 726db336a8
2 changed files with 18 additions and 3 deletions

View File

@@ -147,7 +147,7 @@ namespace Bit.iOS.Autofill
return;
}
if(_context == null || string.IsNullOrWhiteSpace(password))
if(_context == null || string.IsNullOrWhiteSpace(username) || string.IsNullOrWhiteSpace(password))
{
_googleAnalyticsService.TrackAutofillExtensionEvent("Canceled");
var err = new NSError(new NSString("ASExtensionErrorDomain"),