Ask Your Question
1

Disabling social network login providers

asked 2012-09-19 03:20:19 -0600

jeffery gravatar image

updated 2012-09-19 08:57:13 -0600

todofixthis gravatar image

I have read the source code, and I know the core setting is deps\django_authopenid\utils\get_enabled_login_providers(), but I don't want to change the source code.

How can I switch this off in e.g., setting.py?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2012-09-19 04:40:59 -0600

Edur gravatar image

Hm, you mean Facebook, Twitter, AOL etc.?

Go to your Askbot page, login with your Admin Account, go into the 'settings' => 'login providers (Login, Users & Communication)' and uncheck all providers like "Activate AOL login", "Activate Facebook login" and so on.

Greetings.

edit flag offensive delete link more
-1

answered 2012-09-19 07:16:42 -0600

jeffery gravatar image

and i have reading the source code, and found can switch it off by comment off login_providor{} in conf/login_providers.py

edit flag offensive delete link more

Comments

1

But why? You can switch it off in the admin interface, its simple and clean. :)

Edur gravatar imageEdur ( 2012-09-19 08:07:45 -0600 )edit

thks. not need to modify the source code.

jeffery gravatar imagejeffery ( 2013-06-28 01:34:25 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-09-19 03:20:19 -0600

Seen: 632 times

Last updated: Sep 19 '12