Fixing a warning
This commit is contained in:
parent
3770906c3b
commit
28092d975b
|
|
@ -22,7 +22,7 @@ namespace AntiForgeryWebSite
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
[ValidateAntiForgeryToken]
|
[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.
|
// Send to register which gets another html antiforgery token.
|
||||||
return RedirectToAction("Index", "Home");
|
return RedirectToAction("Index", "Home");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue