First time here? Check out the FAQ!
1

Disabling social network login providers

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?

jeffery's avatar
3
jeffery
asked 2012-09-19 03:20:19 -0500
todofixthis's avatar
1.3k
todofixthis
updated 2012-09-19 08:57:13 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

1

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.

Edur's avatar
56
Edur
answered 2012-09-19 04:40:59 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
-1

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

jeffery's avatar
3
jeffery
answered 2012-09-19 07:16:42 -0500
edit flag offensive 0 remove flag delete link

Comments

1

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

Edur's avatar Edur (2012-09-19 08:07:45 -0500) edit

thks. not need to modify the source code.

jeffery's avatar jeffery (2013-06-28 01:34:25 -0500) edit
add a comment see more comments