Kaynağa Gözat

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

金隅分支
liangkun 2 yıl önce
ebeveyn
işleme
9a3f35aed5
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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 Dosyayı Görüntüle

@@ -434,7 +434,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>");
} }
} }




+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet