he2802 3 lat temu
rodzic
commit
d45219904e

+ 1 - 1
zhongzheng-framework/src/main/java/com/zhongzheng/framework/web/service/UserServiceImpl.java

@@ -822,7 +822,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IU
             throw new BaseException("对不起,您的账号:已停用");
         }
         String password = null;
-        if(user.getPassword().length()>20){
+        if(bo.getPwd().length()>20){
             String rsaPrivate = null;
             try {
                 InputStream certStream = Thread.currentThread().getContextClassLoader().getResourceAsStream("config/pri.key");