feat: user related logic refactor

This commit is contained in:
merlin
2025-11-27 17:42:31 +08:00
parent 23cb31d4fe
commit 0ea6e13064
28 changed files with 738 additions and 52 deletions

View File

@@ -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()
)