Fixing issue: https://github.com/wso2/carbon-device-mgt/issues/645 , Once the password is changed - Curent user should be immediately logout

revert-70aa11f8
amalhub 8 years ago
parent c0a474f6fc
commit 4c6781d6b6

@ -86,6 +86,7 @@ $(document).ready(function () {
$("#change-password-success-link").click(function () { $("#change-password-success-link").click(function () {
hidePopup(); hidePopup();
}); });
window.location.href = "/devicemgt/logout";
} }
}, function (jqXHR) { }, function (jqXHR) {
if (jqXHR.status == 400) { if (jqXHR.status == 400) {

Loading…
Cancel
Save