From f520c09e938444b9884311afd3cb3720e9daccfe Mon Sep 17 00:00:00 2001 From: Sven Thiel Date: Tue, 25 Jul 2023 08:47:35 +0200 Subject: [PATCH] support user login/logout --- Controllers/AccountController.cs | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/Controllers/AccountController.cs b/Controllers/AccountController.cs index e830fd9..fe9027b 100644 --- a/Controllers/AccountController.cs +++ b/Controllers/AccountController.cs @@ -1,15 +1,12 @@ -using Manchu.Models; -using Microsoft.AspNetCore.Authentication.Cookies; +using Manchu.Entities; +using Manchu.Models; using Microsoft.AspNetCore.Authentication; +using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Mvc; -using System.Security.Claims; +using Microsoft.Extensions.Configuration; using System.Collections.Generic; +using System.Security.Claims; using System.Threading.Tasks; -using Manchu.Entities; -using Microsoft.Extensions.Configuration; -using Microsoft.AspNetCore.Authorization; - -// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 namespace Manchu.Controllers {