Bladeren bron

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

金隅分支
liangkun 1 jaar geleden
bovenliggende
commit
9a3f35aed5
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  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 Bestand weergeven

@@ -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 Bestand weergeven

@@ -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>");
}
}
//获取错误次数


Laden…
Annuleren
Opslaan