Skip to content

Commit c13acbe

Browse files
allowed
1 parent 2852025 commit c13acbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/abdullah/todomanagement/security/SecurityConfiguration.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public void configureGlobalSecurity(AuthenticationManagerBuilder auth)
3030
protected void configure(HttpSecurity http) throws Exception {
3131
http.cors().and().authorizeRequests()
3232
.antMatchers("/login", "/h2-console/**").permitAll()
33-
.antMatchers("/api/tutorials/**").permitAll()
33+
.antMatchers("/api/tutorials","/api/tutorials/**").permitAll()
3434
.antMatchers("/", "/*todo*/**","/*users*/**").access("hasRole('USER')").and()
3535
.formLogin()
3636
.loginPage("/login")

0 commit comments

Comments
 (0)