This commit is contained in:
Paul Schneider 2021-08-11 20:45:40 +01:00
commit 558d5fc8ae
4 changed files with 8 additions and 6 deletions

View file

@ -18,7 +18,7 @@ namespace isn.Controllers
{
[AllowAnonymous]
public class AccountController : Controller
{
{
private readonly IAuthenticationSchemeProvider _schemeProvider;
private readonly SignInManager<ApplicationUser> _signInManager;
@ -62,7 +62,7 @@ namespace isn.Controllers
[ValidateAntiForgeryToken]
public async Task<IActionResult> Login(LoginInputModel model, string button)
{
// the user clicked the "cancel" button
if (button != "login")
{