mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	auth: Set valid_attestation more unconditionally in social auth.
This commit is contained in:
		@@ -206,8 +206,8 @@ class SocialAuthMixin(ZulipAuthMixin):
 | 
			
		||||
        try:
 | 
			
		||||
            user_profile = get_user_profile_by_email(email_address)
 | 
			
		||||
        except UserProfile.DoesNotExist:
 | 
			
		||||
            return_data["valid_attestation"] = True
 | 
			
		||||
            return None
 | 
			
		||||
        return_data["valid_attestation"] = True
 | 
			
		||||
 | 
			
		||||
        if not user_profile.is_active:
 | 
			
		||||
            return_data["inactive_user"] = True
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user