Commit a420ba68 authored by Riccardo Padovani's avatar Riccardo Padovani

Eliminato login Yahoo!

parent bb96f1ec
...@@ -12,16 +12,16 @@ class GoogleAuthContext(ConsumerTemplateContext): ...@@ -12,16 +12,16 @@ class GoogleAuthContext(ConsumerTemplateContext):
human_name = 'Google' human_name = 'Google'
icon = '/media/images/openid/google.gif' icon = '/media/images/openid/google.gif'
class YahooAuthConsumer(OpenIdAbstractAuthConsumer): # class YahooAuthConsumer(OpenIdAbstractAuthConsumer):
def get_user_url(self, request): # def get_user_url(self, request):
return 'http://yahoo.com/' # return 'http://yahoo.com/'
class YahooAuthContext(ConsumerTemplateContext): # class YahooAuthContext(ConsumerTemplateContext):
mode = 'BIGICON' # mode = 'BIGICON'
type = 'DIRECT' # type = 'DIRECT'
weight = 300 # weight = 300
human_name = 'Yahoo' # human_name = 'Yahoo'
icon = '/media/images/openid/yahoo.gif' # icon = '/media/images/openid/yahoo.gif'
class LaunchpadAuthConsumer(OpenIdAbstractAuthConsumer): class LaunchpadAuthConsumer(OpenIdAbstractAuthConsumer):
def get_user_url(self, request): def get_user_url(self, request):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment