Finished account page users tab
This commit is contained in:
@@ -43,7 +43,8 @@ public class SecurityConfig{
|
||||
http
|
||||
.csrf(csrf -> csrf.disable())
|
||||
.authorizeHttpRequests(auth -> {
|
||||
auth.requestMatchers("/auth/refresh").permitAll() //Permit refresh tokens
|
||||
auth.requestMatchers(HttpMethod.OPTIONS).permitAll()
|
||||
.requestMatchers("/auth/refresh", "/auth/test").permitAll() //Permit refresh tokens
|
||||
.requestMatchers(HttpMethod.POST, "/auth/signup", "/auth/confirm").permitAll() //Permit signup operations
|
||||
.requestMatchers("/auth/forgot", "/auth/forgot/*").permitAll() //Permit forgot password operations
|
||||
.anyRequest().authenticated();
|
||||
|
||||
Reference in New Issue
Block a user