From: latheiere Date: Wed, 11 Apr 2012 12:30:07 +0000 (+0400) Subject: Update social_auth/backends/google.py X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=13adcf3553173930752ca357624837536ea30063;p=django-social-auth.git Update social_auth/backends/google.py --- 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']