mirror of
https://github.com/usbharu/Hideout.git
synced 2026-09-26 06:51:09 +00:00
style: fix lint
This commit is contained in:
@@ -215,15 +215,11 @@ class SecurityConfig {
|
||||
authorize(GET, "/users/*", permitAll)
|
||||
authorize(GET, "/users/*/posts/*", permitAll)
|
||||
|
||||
|
||||
|
||||
authorize("/auth/sign_up", hasRole("ANONYMOUS"))
|
||||
authorize(GET, "/files/*", permitAll)
|
||||
authorize(GET, "/users/*/icon.jpg", permitAll)
|
||||
authorize(GET, "/users/*/header.jpg", permitAll)
|
||||
|
||||
|
||||
|
||||
authorize(anyRequest, authenticated)
|
||||
}
|
||||
|
||||
@@ -309,8 +305,6 @@ class SecurityConfig {
|
||||
return MappingJackson2HttpMessageConverter(builder.build())
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Spring Security 3.2.1 に存在する EnableWebSecurity(debug = true)にすると発生するエラーに対処するためのコード
|
||||
// trueにしないときはコメントアウト
|
||||
|
||||
|
||||
@@ -169,4 +169,4 @@ class MastodonApiSecurityConfig {
|
||||
|
||||
return roleHierarchyImpl
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -51,4 +51,4 @@ class AccountNotFoundException : ClientException {
|
||||
),
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user