Skip to content

Commit

Permalink
config
Browse files Browse the repository at this point in the history
  • Loading branch information
mrFlick72 committed Jun 11, 2023
1 parent 95cf9f0 commit f41927f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/main/java/it/valeriovaudi/ui/UiApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public SecurityWebFilterChain defaultSecurityFilterChain(
http.authorizeExchange(
auth ->
auth
.pathMatchers("/index").hasAuthority("USER")
.pathMatchers("/").hasAuthority("USER")
.pathMatchers("/index.html").hasAuthority("USER")
.pathMatchers("/messages.html").hasAuthority("ADMIN")
.anyExchange().permitAll()
Expand Down

0 comments on commit f41927f

Please sign in to comment.