Refactor: replace whitelist_mode mentions with limited_federation_mode (#26252)
This commit is contained in:
		
					parent
					
						
							
								8891d8945d
							
						
					
				
			
			
				commit
				
					
						e258b4cb64
					
				
			
		
					 33 changed files with 57 additions and 55 deletions
				
			
		|  | @ -1,7 +1,7 @@ | |||
| # frozen_string_literal: true | ||||
| 
 | ||||
| class Api::V1::Instances::TranslationLanguagesController < Api::BaseController | ||||
|   skip_before_action :require_authenticated_user!, unless: :whitelist_mode? | ||||
|   skip_before_action :require_authenticated_user!, unless: :limited_federation_mode? | ||||
| 
 | ||||
|   before_action :set_languages | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue