diff --git a/test/WebSites/AntiForgeryWebSite/Controllers/AccountController.cs b/test/WebSites/AntiForgeryWebSite/Controllers/AccountController.cs index 360ae5a666..90bcb0c1c1 100644 --- a/test/WebSites/AntiForgeryWebSite/Controllers/AccountController.cs +++ b/test/WebSites/AntiForgeryWebSite/Controllers/AccountController.cs @@ -22,7 +22,7 @@ namespace AntiForgeryWebSite [HttpPost] [AllowAnonymous] [ValidateAntiForgeryToken] - public async Task Login(LoginViewModel model, string returnUrl) + public ActionResult Login(LoginViewModel model, string returnUrl) { // Send to register which gets another html antiforgery token. return RedirectToAction("Index", "Home");