diff --git a/src/blazor/admin/BootstrapAdmin.Web/Controllers/AccountController.cs b/src/blazor/admin/BootstrapAdmin.Web/Controllers/AccountController.cs index 4bd9a56b..c9274716 100644 --- a/src/blazor/admin/BootstrapAdmin.Web/Controllers/AccountController.cs +++ b/src/blazor/admin/BootstrapAdmin.Web/Controllers/AccountController.cs @@ -1,11 +1,11 @@ -using BootstrapAdmin.Web.Services; +using BootstrapAdmin.Web.Core; +using BootstrapAdmin.Web.Services; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.WebUtilities; using System.Security.Claims; -using BootstrapAdmin.Web.Core; namespace Bootstrap.Admin.Controllers { @@ -55,16 +55,6 @@ namespace Bootstrap.Admin.Controllers // return ret; //} - private ViewResult LoginView(string view) - { - if (string.IsNullOrEmpty(view)) - { - // retrieve login view from db - //view = DictHelper.RetrieveLoginView(); - } - return View(view); - } - /// /// Login the specified userName, password and remember. ///