Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
website
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Ask
website
Commits
40c3e8b6
Commit
40c3e8b6
authored
Apr 25, 2013
by
Giuseppe Terrasi
Browse files
Options
Browse Files
Download
Plain Diff
Merge: lp:~rpadovani/ubuntu-it-ask/yahoo Disable yahoo login
parents
bb96f1ec
a420ba68
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
forum_modules/openidauth/authentication.py
forum_modules/openidauth/authentication.py
+10
-10
No files found.
forum_modules/openidauth/authentication.py
View file @
40c3e8b6
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment