From 28092d975b2edf326c776a2ded6c22896e9c4cda Mon Sep 17 00:00:00 2001 From: harshgMSFT Date: Thu, 14 Aug 2014 14:22:13 -0700 Subject: [PATCH] Fixing a warning --- .../AntiForgeryWebSite/Controllers/AccountController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");