Skip to content

Commit 3335e2e

Browse files
Rename ValidateCSRF to CSRF_PROTECTION in accordance with the spec.
1 parent 8e5d5af commit 3335e2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/dotnetframework/GxClasses/Helpers/GXRestUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public static Dictionary<string, object> ReadRestBodyParameters(Stream stream)
141141

142142
internal static bool ValidateCsrfToken()
143143
{
144-
return Config.GetValueOf("ValidateCSRF", Preferences.NO) == Preferences.YES;
144+
return Config.GetValueOf("CSRF_PROTECTION", Preferences.NO) == Preferences.YES;
145145
}
146146
}
147147
}

0 commit comments

Comments
 (0)