Skip to content

Commit

Permalink
Rename ValidateCSRF to CSRF_PROTECTION in accordance with the spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiamurialdo committed Dec 22, 2023
1 parent 8e5d5af commit 3335e2e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public static Dictionary<string, object> ReadRestBodyParameters(Stream stream)

internal static bool ValidateCsrfToken()
{
return Config.GetValueOf("ValidateCSRF", Preferences.NO) == Preferences.YES;
return Config.GetValueOf("CSRF_PROTECTION", Preferences.NO) == Preferences.YES;
}
}
}

0 comments on commit 3335e2e

Please sign in to comment.