Explorar el Código

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

金隅分支
liangkun hace 1 año
padre
commit
9a3f35aed5
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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 Ver fichero

@@ -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 Ver fichero

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


Cargando…
Cancelar
Guardar