Login POST Test Working (#198)
* Got login test working With request verification token
This commit is contained in:
1 parent
1b610dd7a4
commit
8941e6b9a6
2 files changed
+44
-15
No files matched your search
@@ -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