Commit 40c3e8b6 authored by Giuseppe Terrasi's avatar Giuseppe Terrasi

Merge: lp:~rpadovani/ubuntu-it-ask/yahoo
Disable yahoo login
parents bb96f1ec a420ba68
......@@ -12,16 +12,16 @@ class GoogleAuthContext(ConsumerTemplateContext):
human_name = 'Google'
icon = '/media/images/openid/google.gif'
class YahooAuthConsumer(OpenIdAbstractAuthConsumer):
def get_user_url(self, request):
return 'http://yahoo.com/'
class YahooAuthContext(ConsumerTemplateContext):
mode = 'BIGICON'
type = 'DIRECT'
weight = 300
human_name = 'Yahoo'
icon = '/media/images/openid/yahoo.gif'
# class YahooAuthConsumer(OpenIdAbstractAuthConsumer):
# def get_user_url(self, request):
# return 'http://yahoo.com/'
# class YahooAuthContext(ConsumerTemplateContext):
# mode = 'BIGICON'
# type = 'DIRECT'
# weight = 300
# human_name = 'Yahoo'
# icon = '/media/images/openid/yahoo.gif'
class LaunchpadAuthConsumer(OpenIdAbstractAuthConsumer):
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