X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/77c7fb49881b1df98ce3584468105ba78740fd48..577d5301bc90f71afdcd82ca62bd711351dbfa73:/forum_modules/openidauth/authentication.py diff --git a/forum_modules/openidauth/authentication.py b/forum_modules/openidauth/authentication.py index 0afd4c6..58759b5 100644 --- a/forum_modules/openidauth/authentication.py +++ b/forum_modules/openidauth/authentication.py @@ -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'