src/main/java/com/nanometer/smartlab/controller/UserMngController.java
@@ -100,7 +100,6 @@ public void updatePassword() { this.username = getUser().getName(); this.sysUser = getUser(); } @@ -267,6 +266,8 @@ public String updatePasswordAction() throws NoSuchAlgorithmException, CharacterCodingException { this.sysUser = getUser(); if(!this.sysUser.getPassword().equals(MD5Utils.encode(this.oriPassword))) { FacesUtils.warn("原密码错误,请重新输入!");