소스 검색

update 修复合并异常

疯狂的狮子li 3 년 전
부모
커밋
c2e43cc781
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      ruoyi-system/src/main/java/com/ruoyi/system/service/SysLoginService.java

+ 0 - 5
ruoyi-system/src/main/java/com/ruoyi/system/service/SysLoginService.java

@@ -77,11 +77,6 @@ public class SysLoginService
             asyncService.recordLogininfor(username, Constants.LOGIN_FAIL, MessageUtils.message("user.password.not.match"), request);
             throw new UserPasswordNotMatchException();
         }
-        else
-        {
-            asyncService.recordLogininfor(username, Constants.LOGIN_FAIL, e.getMessage(), request);
-            throw new ServiceException(e.getMessage());
-        }
 
 		asyncService.recordLogininfor(username, Constants.LOGIN_SUCCESS, MessageUtils.message("user.login.success"), request);
         recordLoginInfo(user.getUserId());