whyclxw
2024-10-14 b252b590513c3d735d6a5b9d6ffa856d6888d291
src/main/java/com/whyc/controller/UserController.java
@@ -159,7 +159,6 @@
        String passwordEncrypt = oldPwd;
        String password = RSAUtil.decryptFront(passwordEncrypt, RSAUtil.fontSeparator)[0];
        String passwordDB = RSAUtil.decrypt(userInf.getUpassword(),RSAUtil.getPrivateKey());
        if(passwordDB.equals(password)){
            return userService.updatePasswordByRSA(userInf,newPwd);
        }else {