mirror of
https://github.com/yangzongzhuan/RuoYi.git
synced 2025-10-17 02:57:44 +00:00
用户密码支持自定义配置规则
This commit is contained in:
@@ -82,7 +82,9 @@
|
||||
});
|
||||
|
||||
function submitHandler() {
|
||||
if ($.validate.form()) {
|
||||
var chrtype = [[${@config.getKey('sys.account.chrtype')}]];
|
||||
var password = $("#newPassword").val();
|
||||
if ($.validate.form() && checkpwd(chrtype, password)) {
|
||||
$.operate.save(ctx + "system/user/profile/resetPwd", $('#form-user-resetPwd').serialize());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user