mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	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:
		| @@ -2,7 +2,7 @@ | ||||
| Authentication using ``REMOTE_USER`` | ||||
| ==================================== | ||||
|  | ||||
| .. currentmodule:: django.contrib.backends | ||||
| .. currentmodule:: django.contrib.auth.backends | ||||
|  | ||||
| This document describes how to make use of external authentication sources | ||||
| (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`` | ||||
| ===================== | ||||
|  | ||||
| .. class:: django.contrib.backends.RemoteUserBackend | ||||
| .. class:: django.contrib.auth.backends.RemoteUserBackend | ||||
|  | ||||
| If you need more control, you can create your own authentication backend | ||||
| that inherits from ``RemoteUserBackend`` and overrides certain parts: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user