]> git.openstreetmap.org Git - osqa.git/blobdiff - forum_modules/openidauth/authentication.py
Remove support for Google OpenID logins
[osqa.git] / forum_modules / openidauth / authentication.py
index 0afd4c6e189c212a54c6fcaecadb925f04c8c583..58759b53b23daee9bccf66fdd68c7a24d2d5c407 100644 (file)
@@ -1,22 +1,9 @@
 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://yahoo.com/'
+        return 'http://me.yahoo.com/'
 
 class YahooAuthContext(ConsumerTemplateContext):
     mode = 'BIGICON'