Skip to content

Commit

Permalink
Fix line length SecurityConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
shamshaev committed Oct 8, 2024
1 parent 7df1529 commit de41a9b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ public SecurityFilterChain filterChain(HttpSecurity http,
http.exceptionHandling().accessDeniedHandler(accessDeniedHandler());

http.authorizeHttpRequests(authz -> authz
.requestMatchers(GET, "/webjars/**", "/widget/**", "/fragments/**", "/img/**", "/favicon.ico").permitAll()
.requestMatchers(GET, "/webjars/**", "/widget/**", "/fragments/**", "/img/**",
"/favicon.ico").permitAll()
.requestMatchers("/", "/login", "/signup", "/error", "/about").permitAll()
.anyRequest().authenticated()
)
Expand Down

0 comments on commit de41a9b

Please sign in to comment.