mirror of https://github.com/usbharu/Hideout.git
				
				
				
			style: fix lint
This commit is contained in:
		
							parent
							
								
									88e78ff948
								
							
						
					
					
						commit
						dcbef07251
					
				|  | @ -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 | ||||
|     } | ||||
| } | ||||
| } | ||||
|  |  | |||
|  | @ -51,4 +51,4 @@ class AccountNotFoundException : ClientException { | |||
|             ), | ||||
|         ) | ||||
|     } | ||||
| } | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue