X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=settings.py;h=ccffacbed25bb1cf5d02682d3f5934e8fbf84c6f;hb=2abc16283f3b06aec8afa42b216a0063acb702f8;hp=574b39536a5f8e786d04a1e3f23ab18bed5b493c;hpb=25f8408523048e3734758d970efaf12b1d7157db;p=matthijs%2Fprojects%2Fxerxes.git diff --git a/settings.py b/settings.py index 574b395..ccffacb 100644 --- a/settings.py +++ b/settings.py @@ -11,7 +11,6 @@ ADMINS = ( MANAGERS = ADMINS -PHPBB_DATABASE_NAME = 'ee_forum' # Local time zone for this installation. Choices can be found here: # http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE @@ -88,3 +87,11 @@ TEMPLATE_CONTEXT_PROCESSORS = ( ) LOGIN_URL = "/accounts/login/" +LOGIN_REDIRECT_URL = "/influences/" + +# Allow authentication against the phpb user accounts + +AUTHENTICATION_BACKENDS = ( + 'ee.auth.PhpBBBackend', + 'django.contrib.auth.backends.ModelBackend', +)