Update test.ps1
This commit is contained in:
parent
4bd643c823
commit
694e8166c6
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ while ($form -eq $null)
|
||||||
|
|
||||||
if([string]::IsNullOrWhiteSpace([Net.NetworkCredential]::new('', $cred.Password).Password))
|
if([string]::IsNullOrWhiteSpace([Net.NetworkCredential]::new('', $cred.Password).Password))
|
||||||
{
|
{
|
||||||
Write-Output "Credentials cannot be left blank. Please try again."
|
[System.Windows.Forms.MessageBox]::Show("Credentials can not be empty!")
|
||||||
$form = $null
|
$form = $null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue