refactor: 移除 LoginView 方法
This commit is contained in:
parent
500f0f148e
commit
3de89cd94e
|
@ -1,11 +1,11 @@
|
||||||
using BootstrapAdmin.Web.Services;
|
using BootstrapAdmin.Web.Core;
|
||||||
|
using BootstrapAdmin.Web.Services;
|
||||||
using Microsoft.AspNetCore.Authentication;
|
using Microsoft.AspNetCore.Authentication;
|
||||||
using Microsoft.AspNetCore.Authentication.Cookies;
|
using Microsoft.AspNetCore.Authentication.Cookies;
|
||||||
using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Authorization;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using Microsoft.AspNetCore.WebUtilities;
|
using Microsoft.AspNetCore.WebUtilities;
|
||||||
using System.Security.Claims;
|
using System.Security.Claims;
|
||||||
using BootstrapAdmin.Web.Core;
|
|
||||||
|
|
||||||
namespace Bootstrap.Admin.Controllers
|
namespace Bootstrap.Admin.Controllers
|
||||||
{
|
{
|
||||||
|
@ -55,16 +55,6 @@ namespace Bootstrap.Admin.Controllers
|
||||||
// return ret;
|
// return ret;
|
||||||
//}
|
//}
|
||||||
|
|
||||||
private ViewResult LoginView(string view)
|
|
||||||
{
|
|
||||||
if (string.IsNullOrEmpty(view))
|
|
||||||
{
|
|
||||||
// retrieve login view from db
|
|
||||||
//view = DictHelper.RetrieveLoginView();
|
|
||||||
}
|
|
||||||
return View(view);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Login the specified userName, password and remember.
|
/// Login the specified userName, password and remember.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
Loading…
Reference in New Issue