1
zj
2024-08-14 a949bf71283aeabbf4ac26adb7f183b67c02dfc7
src/main/java/project/web/admin/security/LoginController.java
@@ -113,7 +113,7 @@
      
      //密码校验错误返回登录页面
      String md5 = passwordEncoder.encodePassword(password, user.getUsername());
      logger.info("----------密码:"+md5);
      if (!user.getPassword().equals(md5)) {
         modelAndView.addObject("error", "登录密码错误!");
         modelAndView.setViewName("login");