We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 998497b commit d247248Copy full SHA for d247248
src/Cohesity.Powershell/Cmdlets/Cluster/ConnectCohesityCluster.cs
@@ -259,7 +259,7 @@ protected override void ProcessRecord()
259
var sendSecurityCode = httpClient.SendAsync(emailMFARequest).Result;
260
var sendSecurityCodeResponse = sendSecurityCode.Content.ReadAsStringAsync().Result;
261
262
- if (sendSecurityCode.StatusCode != HttpStatusCode.Created)
+ if (sendSecurityCode.StatusCode != HttpStatusCode.NoContent)
263
{
264
var accessCodeError = JsonConvert.DeserializeObject<ErrorProto>(sendSecurityCodeResponse);
265
StringBuilder sb = new StringBuilder();
0 commit comments