refactor: 移除 LoginView 方法

This commit is contained in:
Argo-Lenovo 2021-12-14 18:41:54 +08:00
parent 500f0f148e
commit 3de89cd94e
1 changed files with 2 additions and 12 deletions

View File

@ -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);
}
/// <summary>
/// Login the specified userName, password and remember.
/// </summary>