Fixing a warning

This commit is contained in:
harshgMSFT 2014-08-14 14:22:13 -07:00
parent 3770906c3b
commit 28092d975b
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ namespace AntiForgeryWebSite
[HttpPost]
[AllowAnonymous]
[ValidateAntiForgeryToken]
public async Task<ActionResult> 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");