Skip to content

Commit d0f8f9d

Browse files
get stuff
1 parent 77a76ce commit d0f8f9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Users/Invoke-ExecSendPush.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,12 @@ Function Invoke-ExecSendPush {
107107
}
108108
if ($obj.BeginTwoWayAuthenticationResponse.AuthenticationResult -ne $true) {
109109
$Body = "Authentication Failed! Does the user have Push/Phone call MFA configured? Errorcode: $($obj.BeginTwoWayAuthenticationResponse.result.value | Out-String)"
110-
$colour = 'danger'
110+
$colour = 'error'
111111
}
112112

113113
}
114114

115-
$Results = [pscustomobject]@{'Results' = $Body; colour = $colour }
115+
$Results = [pscustomobject]@{'Results' = $Body; state = $colour }
116116
Write-LogMessage -user $request.headers.'x-ms-client-principal' -API $APINAME -message "Sent push request to $UserEmail - Result: $($obj.BeginTwoWayAuthenticationResponse.result.value | Out-String)" -Sev 'Info'
117117

118118
Push-OutputBinding -Name Response -Value ([HttpResponseContext]@{

0 commit comments

Comments
 (0)