|
|
@@ -29,7 +29,7 @@ public class DefaultLoginSuccessHandler extends SavedRequestAwareAuthenticationS |
|
|
|
public void onAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response, |
|
|
|
Authentication authentication) throws IOException { |
|
|
|
response.setContentType(MediaType.APPLICATION_JSON_VALUE); |
|
|
|
response.getWriter().write(objectMapper.writeValueAsString(ApiResponse.ofSuccess())); |
|
|
|
response.getWriter().write(objectMapper.writeValueAsString(ApiResponse.ofMessage(ApiResponse.SUCCESS_MSG))); |
|
|
|
} |
|
|
|
|
|
|
|
} |