Login POST Test Working (#198)
* Got login test working With request verification token
This commit is contained in:
@@ -52,7 +52,7 @@ namespace Microsoft.eShopWeb.Web.Controllers
|
||||
// POST: /Account/SignIn
|
||||
[HttpPost]
|
||||
[AllowAnonymous]
|
||||
//[ValidateAntiForgeryToken]
|
||||
[ValidateAntiForgeryToken]
|
||||
public async Task<IActionResult> SignIn(LoginViewModel model, string returnUrl = null)
|
||||
{
|
||||
if (!ModelState.IsValid)
|
||||
|
||||
Reference in New Issue
Block a user