mirror of https://github.com/usbharu/Hideout.git
feat: 404が帰らないことがあるので修正
This commit is contained in:
parent
2674bb0788
commit
52a3ae72dc
|
@ -75,7 +75,7 @@ class SecurityConfig {
|
|||
it.requestMatchers(builder.pattern("/change-password")).authenticated()
|
||||
it.requestMatchers(builder.pattern("/api/v1/accounts/verify_credentials"))
|
||||
.hasAnyAuthority("SCOPE_read", "SCOPE_read:accounts")
|
||||
it.anyRequest().denyAll()
|
||||
it.anyRequest().permitAll()
|
||||
}
|
||||
http
|
||||
.oauth2ResourceServer {
|
||||
|
|
Loading…
Reference in New Issue