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?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
jeffery's avatar
3
jeffery
asked 12 years ago
todofixthis's avatar
1.3k
todofixthis
updated 12 years ago

Comments

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Edur's avatar
56
Edur
answered 12 years ago
link

Comments

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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
jeffery's avatar
3
jeffery
answered 12 years ago
link

Comments

1

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

Edur's avatar Edur (12 years ago)

thks. not need to modify the source code.

jeffery's avatar jeffery (11 years ago)
see more comments