mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	refactor: Make acting_user a mandatory kwarg for do_set_realm_authentication_methods.
This commit is contained in:
		@@ -824,7 +824,7 @@ def do_set_realm_property(
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def do_set_realm_authentication_methods(
 | 
			
		||||
    realm: Realm, authentication_methods: Dict[str, bool], acting_user: Optional[UserProfile] = None
 | 
			
		||||
    realm: Realm, authentication_methods: Dict[str, bool], *, acting_user: Optional[UserProfile]
 | 
			
		||||
) -> None:
 | 
			
		||||
    old_value = realm.authentication_methods_dict()
 | 
			
		||||
    for key, value in list(authentication_methods.items()):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user