用户密码支持自定义配置规则
This commit is contained in:
@ -221,7 +221,7 @@
|
||||
});
|
||||
|
||||
function submitHandler() {
|
||||
var chrtype = [[${@config.getKey('sys.account.chrtype')}]];
|
||||
var chrtype = [[${#strings.defaultString(@config.getKey('sys.account.chrtype'), 0)}]];
|
||||
var password = $("#password").val();
|
||||
if ($.validate.form() && checkpwd(chrtype, password)) {
|
||||
var data = $("#form-user-add").serializeArray();
|
||||
|
Reference in New Issue
Block a user