♻️ 优化异常抛出逻辑,方便二次扩展

This commit is contained in:
冷冷 committed 2024-05-04 11:33:39 +08:00
1 parent 503b4aff74
commit 6fc3a9af40
1 file changed
+1 -4
@@ -119,11 +119,8 @@ public class PigxDaoAuthenticationProvider extends AbstractUserDetailsAuthentica
mitigateAgainstTimingAttack(authentication);
throw ex;
}
catch (InternalAuthenticationServiceException ex) {
throw ex;
}
catch (Exception ex) {
throw new InternalAuthenticationServiceException(ex.getMessage(), ex);
throw ex;
}
}