From: Tom Hughes Date: Tue, 12 May 2015 07:59:04 +0000 (+0100) Subject: Remove support for Google OpenID logins X-Git-Tag: live~6 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/4fa3c66b3e0a937bb32bb0db81b0db81ab5aa206 Remove support for Google OpenID logins --- diff --git a/forum_modules/openidauth/authentication.py b/forum_modules/openidauth/authentication.py index 79eaeba..58759b5 100644 --- a/forum_modules/openidauth/authentication.py +++ b/forum_modules/openidauth/authentication.py @@ -1,19 +1,6 @@ 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/'