李宇
2020-12-17 88470ddb6068d6f23e456b254c76914ab2a765e4
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("原密码错误,请重新输入!");