Skip to content

Commit

Permalink
Resolve PR concern abour using HttpStatusCode.SeeOther instead of cod…
Browse files Browse the repository at this point in the history
…e 303 directly
  • Loading branch information
MBarnech committed Mar 10, 2023
1 parent f1c4b6d commit 2412c91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ public override void webExecute()
{
GxSecurityProvider.Provider.oauthlogout(context, out string URL, out short statusCode);

if (statusCode == 303)
if (statusCode == (int)HttpStatusCode.SeeOther)
localHttpContext.Response.StatusCode = (int)HttpStatusCode.OK;
else
localHttpContext.Response.StatusCode = statusCode;
Expand Down

0 comments on commit 2412c91

Please sign in to comment.