Bläddra i källkod

授权跳转空白页

临城职教中职
liangkun 2 år sedan
förälder
incheckning
50575f3c23
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/HomeController.cs
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/HomeController.cs Visa fil

@@ -431,7 +431,7 @@ namespace Learun.Application.Web.Controllers
var lc = LicenseChecker.CheckLicense(); var lc = LicenseChecker.CheckLicense();
if (!lc.Result) if (!lc.Result)
{ {
return Content("<script>alert('" + lc.Message + "');location.href='/ShowRegister/Index';</script>");
return Content("<script>alert('" + lc.Message + "');location.href='about:blank';</script>");
} }
//return View("AdminTop"); //return View("AdminTop");
string learn_UItheme = WebHelper.GetCookie("Learn_ADMS_V6.1_UItheme"); string learn_UItheme = WebHelper.GetCookie("Learn_ADMS_V6.1_UItheme");


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs Visa fil

@@ -189,7 +189,7 @@ namespace Learun.Application.Web.Controllers
var lc = LicenseChecker.CheckLicense(); var lc = LicenseChecker.CheckLicense();
if (!lc.Result) if (!lc.Result)
{ {
return Content("<script>alert('" + lc.Message + "');location.href='/ShowRegister/Index';</script>");
return Content("<script>alert('" + lc.Message + "');location.href='about:blank';</script>");
} }
//获取错误次数 //获取错误次数
ViewBag.errornum = OperatorHelper.Instance.GetCurrentErrorNum(); ViewBag.errornum = OperatorHelper.Instance.GetCurrentErrorNum();


Laddar…
Avbryt
Spara