mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-12 11:08:31 -05:00
Changes to sqltoolsservice to allow empty password for SqlLogin (#333)
* Initial changes to allow empty passwords * Added in empty password test * Modifying test to work after my changes.
This commit is contained in:
@@ -78,7 +78,7 @@ namespace Microsoft.SqlTools.Credentials.Contracts
|
||||
public static void ValidateForSave(Credential credential)
|
||||
{
|
||||
ValidateForLookup(credential);
|
||||
Validate.IsNotNullOrEmptyString("credential.Password", credential.Password);
|
||||
Validate.IsNotNull("credential.Password", credential.Password);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user