diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs index a16874ce5..a6a7f214e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs @@ -552,7 +552,7 @@ namespace Learun.Application.Web.Controllers /// [HttpPost] [AjaxOnly] - [HandlerValidateAntiForgeryToken] + //[HandlerValidateAntiForgeryToken] public ActionResult CheckLogin(string username, string password, string verifycode, string up, string defaultPwdTip) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/Default/IndexWxLogin.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/Default/IndexWxLogin.js index ed06a1b13..5bad134a4 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/Default/IndexWxLogin.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/Default/IndexWxLogin.js @@ -151,13 +151,13 @@ success: function (res) { if (res.code == 200) { if (source == "noLogin") { - window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/SSOSystem/Index"; + window.location.href ="/SSOSystem/Index"; } else { if (res.data.pwd == true) { - window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/Home/Index?pwd=true"; + window.location.href ="/Home/Index?pwd=true"; } else { - window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/Home/Index"; + window.location.href = "/Home/Index"; } } } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageFive/IndexWxLogin.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageFive/IndexWxLogin.js index 15397971e..3d0d7eeb1 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageFive/IndexWxLogin.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageFive/IndexWxLogin.js @@ -151,10 +151,10 @@ success: function (res) { if (res.code == 200) { if (source == "noLogin") { - window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/SSOSystem/Index"; + window.location.href = "/SSOSystem/Index"; } else { - window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/Home/Index"; + window.location.href = "/Home/Index"; } } else if (res.code == 400) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageFour/IndexWxLogin.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageFour/IndexWxLogin.js index de571fb88..036f34919 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageFour/IndexWxLogin.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageFour/IndexWxLogin.js @@ -152,10 +152,10 @@ success: function (res) { if (res.code == 200) { if (source == "noLogin") { - window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/SSOSystem/Index"; + window.location.href ="/SSOSystem/Index"; } else { - window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/Home/Index"; + window.location.href = "/Home/Index"; } } else if (res.code == 400) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageSix/IndexWxLogin.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageSix/IndexWxLogin.js index 691d69264..bbd8c4a6e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageSix/IndexWxLogin.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageSix/IndexWxLogin.js @@ -152,10 +152,10 @@ success: function (res) { if (res.code == 200) { if (source == "noLogin") { - window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/SSOSystem/Index"; + window.location.href ="/SSOSystem/Index"; } else { - window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/Home/Index"; + window.location.href = "/Home/Index"; } } else if (res.code == 400) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageThree/IndexWxLogin.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageThree/IndexWxLogin.js index a8a34b909..4f44ab04f 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageThree/IndexWxLogin.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageThree/IndexWxLogin.js @@ -152,10 +152,10 @@ success: function (res) { if (res.code == 200) { if (source == "noLogin") { - window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/SSOSystem/Index"; + window.location.href = "/SSOSystem/Index"; } else { - window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/Home/Index"; + window.location.href = "/Home/Index"; } } else if (res.code == 400) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageTwo/IndexWxLogin.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageTwo/IndexWxLogin.js index 8222d29a4..5fde80cb2 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageTwo/IndexWxLogin.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageTwo/IndexWxLogin.js @@ -152,10 +152,10 @@ if (res.code == 200) { lrPage.logining(false); if (source == "noLogin") { - window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/SSOSystem/Index"; + window.location.href = "/SSOSystem/Index"; } else { - window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/Home/Index"; + window.location.href = "/Home/Index"; } } else if (res.code == 400) {