Browse Source

update 修复合并异常

疯狂的狮子li 3 years ago
parent
commit
c2e43cc781

+ 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());