]> git.openstreetmap.org Git - osqa.git/commitdiff
Remove support for Google OpenID logins
authorTom Hughes <tom@compton.nu>
Tue, 12 May 2015 07:59:04 +0000 (08:59 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 12 May 2015 07:59:04 +0000 (08:59 +0100)
forum_modules/openidauth/authentication.py

index 79eaebab51fbb6ab854d4c9fd145b3c0d18ed759..58759b53b23daee9bccf66fdd68c7a24d2d5c407 100644 (file)
@@ -1,19 +1,6 @@
 from consumer import OpenIdAbstractAuthConsumer
 from forum.authentication.base import ConsumerTemplateContext
 
 from consumer import OpenIdAbstractAuthConsumer
 from forum.authentication.base import ConsumerTemplateContext
 
-class GoogleAuthConsumer(OpenIdAbstractAuthConsumer):
-    def get_user_url(self, request):
-        return 'https://www.google.com/accounts/o8/id'
-
-class GoogleAuthContext(ConsumerTemplateContext):
-    mode = 'BIGICON'
-    type = 'DIRECT'
-    weight = 200
-    human_name = 'Google'
-    icon = '/media/images/openid/google.gif'
-
-
-
 class YahooAuthConsumer(OpenIdAbstractAuthConsumer):
     def get_user_url(self, request):
         return 'http://me.yahoo.com/'
 class YahooAuthConsumer(OpenIdAbstractAuthConsumer):
     def get_user_url(self, request):
         return 'http://me.yahoo.com/'