用户密码支持自定义配置规则
This commit is contained in:
@@ -283,7 +283,9 @@
|
||||
});
|
||||
|
||||
function submitChangPassword () {
|
||||
if ($.validate.form("form-user-resetPwd")) {
|
||||
var chrtype = [[${@config.getKey('sys.account.chrtype')}]];
|
||||
var password = $("#newPassword").val();
|
||||
if ($.validate.form("form-user-resetPwd") && checkpwd(chrtype, password)) {
|
||||
$.operate.saveModal(ctx + "system/user/profile/resetPwd", $('#form-user-resetPwd').serialize());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user