From 13adcf3553173930752ca357624837536ea30063 Mon Sep 17 00:00:00 2001 From: latheiere Date: Wed, 11 Apr 2012 16:30:07 +0400 Subject: [PATCH] Update social_auth/backends/google.py --- social_auth/backends/google.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/social_auth/backends/google.py b/social_auth/backends/google.py index 7aef487..2e0ccb6 100644 --- a/social_auth/backends/google.py +++ b/social_auth/backends/google.py @@ -95,9 +95,6 @@ class GoogleBackend(OpenIDBackend): """ validate_whitelists(self, details['email']) - if domains and details['email'].split('@', 1)[1] not in domains: - raise ValueError('Domain not allowed') - return details['email'] -- 2.39.5