修改登录密码

This commit is contained in:
liuz 2018-08-09 14:37:35 +08:00
parent 728cc7778a
commit b12d17c7a3
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@
</select>
</div>
<div class="logon_user">用户名ID<input type="text" name="UserID" onkeypress="javascript:pressEnter(1, event);" value="test11" onblur="javascript:myTrim();" class="input_class"/></div>
<div class="logon_user">密码:<input type="Password" name="Password" value="APleasing001" onkeypress="javascript:pressEnter(2, event);" class="input_class"/></div>
<div class="logon_user">密码:<input type="Password" name="Password" value="a1!" onkeypress="javascript:pressEnter(2, event);" class="input_class"/></div>
<!-- <div class="logon_user" style="position: relative;">验证码:<input type="text" name="CheckCode" onKeyPress="javascript:pressEnter(3, event);" class="input_class" style="margin-right: 70px; width: 110px;"/><img style="position: absolute; right: 0; bottom: 0; cursor: pointer;" src="servlet/checkcode" onclick="history.go(0)" title="点击刷新验证码"/></div> -->
<span id='amarhidden' style='display:none'>正在检查用户请稍等.....</span>
<div class="logon_button">

View File

@ -50,7 +50,7 @@ public class UserInfoHandler extends CommonHandler {
protected void beforeInsert(JBOTransaction tx, BizObject bo) throws Exception {
//设置初始密码:APleasing001
String sInitPwd = "APleasing001";
String sInitPwd = "a1!";
String sPassword = MessageDigest.getDigestAsUpperHexString("MD5", sInitPwd);
bo.setAttributeValue("Password",sPassword); //如果是新增用户设置初始密码
}