First time here? Check out the FAQ!
0

Does askbot use django authentication
 

I want to confirm if askbot has turned on default django authentication. I see the middleware file in the authentication module and sounds like what askbot doing is using django authentication but customize by writing the middleware. in that case if I comment 'django.contrib.auth.middleware.AuthenticationMiddleware', this line I can simply disable the askbot authentication or do it need to do more?

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)
SocialQA's avatar
265
SocialQA
asked 12 years ago

Comments

see more comments

1 Answer

1

Askbot does use the default django password authentication. To disable all of askbot's authentication, remove app askbot.deps.django_authopenid from the INSTALLED_APPS list and remove askbot.deps.django_authopenid.backends.AuthBackend from the AUTHENTICATION_BACKENDS

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)
Evgeny's avatar
13.2k
Evgeny
answered 12 years ago
link

Comments

see more comments