feat: user related logic refactor
This commit is contained in:
@@ -28,11 +28,11 @@ public class SecurityConfig {
|
||||
.authorizeHttpRequests(authz -> authz
|
||||
.requestMatchers(
|
||||
"/error",
|
||||
"/login",
|
||||
"/register",
|
||||
"/shadow/**",
|
||||
"/health",
|
||||
"/code/**",
|
||||
"/v3/api-docs/**"
|
||||
"/v3/api-docs/**",
|
||||
"/account/mail/verify/**"
|
||||
).permitAll()
|
||||
.anyRequest().authenticated()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user