Skip to content

Commit

Permalink
Update SecurityConfig.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc0Franc0 committed Aug 2, 2023
1 parent e4edda6 commit f03ad0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/app/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ SecurityFilterChain securityFilterChain(HttpSecurity http, AuthenticationManager
//es creado dentro de esta clase
jwtAuthenticationFilter.setAuthenticationManager(authenticationManager);
//Se configura el endpoint para autenticarse
jwtAuthenticationFilter.setFilterProcessesUrl("/login");
jwtAuthenticationFilter.setFilterProcessesUrl("/auth/login");

return http
// Se deshabilita Cross-site request forgery
Expand Down

0 comments on commit f03ad0c

Please sign in to comment.