|
|
@@ -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"; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|