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

This commit is contained in:
amalhub 2017-03-22 15:37:16 +05:30
parent c0a474f6fc
commit 4c6781d6b6

View File

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