瀏覽代碼

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

金隅分支
liangkun 1 年之前
父節點
當前提交
9a3f35aed5
共有 2 個檔案被更改,包括 2 行新增2 行删除
  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 查看文件

@@ -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 查看文件

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


Loading…
取消
儲存