密码策略强制修改密码的情况下修改后不能跳转到首页的问题
This commit is contained in:
@@ -327,13 +327,16 @@ $("#inputFormPwd").validate({
|
||||
}
|
||||
}
|
||||
js.ajaxSubmit(action, data, function(data, status, xhr){
|
||||
js.showMessage(data.message);
|
||||
if(data.result == Global.TRUE){
|
||||
if ('${parameter.url}'!=''){
|
||||
location = '${ctxPath}${parameter.url}';
|
||||
}else{
|
||||
location = '${ctx}/sys/user/info?op=pwd';
|
||||
}
|
||||
js.alert(data.message, function(){
|
||||
if ('${parameter.url}'!=''){
|
||||
location = '${ctxPath}${parameter.url}';
|
||||
}else{
|
||||
location = '${ctx}/sys/user/info?op=pwd';
|
||||
}
|
||||
});
|
||||
}else{
|
||||
js.showMessage(data.message);
|
||||
}
|
||||
}, "json");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user