Skip to content

Commit

Permalink
Merge pull request #394 from ita-social-projects/bugfix/management-login
Browse files Browse the repository at this point in the history
change access to management/login endpoint
  • Loading branch information
ToriForH authored Sep 11, 2024
2 parents 57720db + d6bf30c commit 02dcfda
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/main/java/greencity/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
"/user/update/role")
.hasAnyRole(ADMIN)
.requestMatchers(HttpMethod.POST, "/management/login")
// .not().fullyAuthenticated()
.rememberMe()
.permitAll()
.requestMatchers(HttpMethod.GET, "/management/login")
.permitAll()
.requestMatchers("/css/**", "/img/**")
Expand Down

0 comments on commit 02dcfda

Please sign in to comment.