Index: settings.py
===================================================================
--- settings.py (revision 1385)
+++ settings.py (working copy)
@@ -42,6 +42,8 @@
'django.middleware.locale.LocaleMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
+# The following line can be uncommented once Django ticket #689 is resolved
+# 'django.contrib.auth.middleware.RemoteUserAuthMiddleware',
)
TEMPLATE_CONTEXT_PROCESSORS = (
@@ -54,6 +56,13 @@
'djblets.util.context_processors.siteRoot',
)
+# Uncomment the following lines if you wish to use the authentication
+# provided by the web server.
+#AUTHENTICATION_BACKENDS = (
+# 'django.contrib.auth.backends.RemoteUserAuthBackend',
+#)
+#REMOTE_USER_AUTH_AUTO_CREATE = True
+
SITE_ROOT_URLCONF = 'reviewboard.urls'
ROOT_URLCONF = 'djblets.util.rooturl'
@@ -101,6 +110,7 @@
# reviewboard in to an existing authentication environment (such