mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	ldap: Remove some unnecessary indentation.
We created this redundant pair of conditionals in a preceding commit, in order to match the indentation of an `except` block so as to slice the diffs extra finely as we're refactoring auth code.
This commit is contained in:
		@@ -484,7 +484,6 @@ class ZulipLDAPAuthBackend(ZulipLDAPAuthBackendBase):
 | 
			
		||||
        if user_profile is not None:
 | 
			
		||||
            return user_profile, False
 | 
			
		||||
 | 
			
		||||
        if user_profile is None:
 | 
			
		||||
        if self._realm is None:
 | 
			
		||||
            raise ZulipLDAPConfigurationError("Realm is None", self.REALM_IS_NONE_ERROR)
 | 
			
		||||
        # No need to check for an inactive user since they don't exist yet
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user