Fixed #14551 -- corrected a type in the remote user auth documentation. Thanks to mag for the report and fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14344 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
01e2be557b
commit
8a8c0ed0f9
|
@ -2,7 +2,7 @@
|
||||||
Authentication using ``REMOTE_USER``
|
Authentication using ``REMOTE_USER``
|
||||||
====================================
|
====================================
|
||||||
|
|
||||||
.. currentmodule:: django.contrib.backends
|
.. currentmodule:: django.contrib.auth.backends
|
||||||
|
|
||||||
This document describes how to make use of external authentication sources
|
This document describes how to make use of external authentication sources
|
||||||
(where the Web server sets the ``REMOTE_USER`` environment variable) in your
|
(where the Web server sets the ``REMOTE_USER`` environment variable) in your
|
||||||
|
@ -68,7 +68,7 @@ If your authentication mechanism uses a custom HTTP header and not
|
||||||
``RemoteUserBackend``
|
``RemoteUserBackend``
|
||||||
=====================
|
=====================
|
||||||
|
|
||||||
.. class:: django.contrib.backends.RemoteUserBackend
|
.. class:: django.contrib.auth.backends.RemoteUserBackend
|
||||||
|
|
||||||
If you need more control, you can create your own authentication backend
|
If you need more control, you can create your own authentication backend
|
||||||
that inherits from ``RemoteUserBackend`` and overrides certain parts:
|
that inherits from ``RemoteUserBackend`` and overrides certain parts:
|
||||||
|
|
Loading…
Reference in New Issue