Skip to content

Commit

Permalink
Merge pull request #3585 from hanpijun-buhanpi/master
Browse files Browse the repository at this point in the history
【修复】修改密码与登录密码长度不一致bug修复
  • Loading branch information
xuxueli authored Jan 11, 2025
2 parents 76e49cb + 5a9de49 commit b718818
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions xxl-job-admin/src/main/resources/static/js/login.1.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ $(function(){
userName : {
required : true ,
minlength: 4,
maxlength: 18
maxlength: 20
},
password : {
required : true ,
minlength: 4,
maxlength: 18
maxlength: 20
}
},
messages : {
Expand All @@ -32,7 +32,7 @@ $(function(){
password : {
required : I18n.login_password_empty ,
minlength : I18n.login_password_lt_4
/*,maxlength:"登录密码不应超过18位"*/
/*,maxlength:"登录密码不应超过20位"*/
}
},
highlight : function(element) {
Expand Down
4 changes: 2 additions & 2 deletions xxl-job-admin/src/main/resources/templates/login.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<div class="login-box-body">
<p class="login-box-msg">${I18n.admin_name}</p>
<div class="form-group has-feedback">
<input type="text" name="userName" class="form-control" placeholder="${I18n.login_username_placeholder}" maxlength="18" >
<input type="text" name="userName" class="form-control" placeholder="${I18n.login_username_placeholder}" maxlength="20" >
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
</div>
<div class="form-group has-feedback">
<input type="password" name="password" class="form-control" placeholder="${I18n.login_password_placeholder}" maxlength="18" >
<input type="password" name="password" class="form-control" placeholder="${I18n.login_password_placeholder}" maxlength="20" >
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
</div>
<div class="row">
Expand Down

0 comments on commit b718818

Please sign in to comment.