mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Remove the SSO-only realm integration.
It's messy code, only one customer ever used it, and it's not in use today. (imported from commit af3f512ac6af74af66c588c7d40d699e98514d0a)
This commit is contained in:
		@@ -14,9 +14,7 @@ from oauth2client.crypt import AppIdentityError
 | 
			
		||||
 | 
			
		||||
def password_auth_enabled(realm):
 | 
			
		||||
    if realm is not None:
 | 
			
		||||
        if realm.domain == 'employees.customer16.invalid':
 | 
			
		||||
            return False
 | 
			
		||||
        elif realm.domain == 'zulip.com' and settings.PRODUCTION:
 | 
			
		||||
        if realm.domain == 'zulip.com' and settings.PRODUCTION:
 | 
			
		||||
            # the dropbox realm is SSO only, but the unit tests still need to be
 | 
			
		||||
            # able to login
 | 
			
		||||
            return False
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user