Skip to content

Commit

Permalink
Avoid use of deprecated method in spring-ai-chat
Browse files Browse the repository at this point in the history
  • Loading branch information
trisberg committed Jan 28, 2025
1 parent 6146539 commit 9415cf9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class SecurityConfig {
@Bean
SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
return http
.authorizeRequests(authorize -> authorize
.authorizeHttpRequests(authorize -> authorize
.requestMatchers("/login").permitAll()
.anyRequest().authenticated()
)
Expand Down

0 comments on commit 9415cf9

Please sign in to comment.