Pārlūkot izejas kodu

去掉授权提示页面改为空页

金隅分支
liangkun pirms 2 gadiem
vecāks
revīzija
9a3f35aed5
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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 Parādīt failu

@@ -434,7 +434,7 @@ namespace Learun.Application.Web.Controllers
var lc = LicenseChecker.CheckLicense();
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>");
}
}



+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs Parādīt failu

@@ -192,7 +192,7 @@ namespace Learun.Application.Web.Controllers
var lc = LicenseChecker.CheckLicense();
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>");
}
}
//获取错误次数


Notiek ielāde…
Atcelt
Saglabāt