Harden NTLM authentication and restore SGU profiles
This commit is contained in:
@@ -23,7 +23,7 @@ if (-not $certificate -or -not $certificate.HasPrivateKey) {
|
||||
try {
|
||||
$body = @{ clave = $clave; password = $password } | ConvertTo-Json -Compress
|
||||
Invoke-RestMethod -Method Post -Uri $BrokerEndpoint -Certificate $certificate `
|
||||
-ContentType 'application/json' -Body $body -TimeoutSec 20
|
||||
-ContentType 'application/json' -Body $body -TimeoutSec 90
|
||||
}
|
||||
finally {
|
||||
$password = $null
|
||||
|
||||
Reference in New Issue
Block a user