Temporarily disable anti-forgery validation for HTTPS proxy compatibility

This commit is contained in:
2025-09-19 16:44:37 +01:00
parent 8b0e3e0611
commit bcefd2c6fc
180 changed files with 85605 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ public class AccountController : Controller
}
[HttpPost]
[ValidateAntiForgeryToken]
// [ValidateAntiForgeryToken] // Temporarily disabled for HTTPS proxy issue
public async Task<IActionResult> Login(string username, string password)
{
Console.WriteLine($"Received Username: '{username}', Password: '{password}'");