mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Fixed #28881 -- Doc'd that CommonPasswordValidator's password list must be lowercase.
This commit is contained in:
		| @@ -550,13 +550,14 @@ Django includes four validators: | ||||
|  | ||||
| .. class:: CommonPasswordValidator(password_list_path=DEFAULT_PASSWORD_LIST_PATH) | ||||
|  | ||||
|     Validates whether the password is not a common password. By default, this | ||||
|     checks against a list of 1000 common password created by | ||||
|     `Mark Burnett <https://web.archive.org/web/20150315154609/https://xato.net/passwords/more-top-worst-passwords/>`_. | ||||
|     Validates whether the password is not a common password. This converts the | ||||
|     password to lowercase (to do a case-insensitive comparison) and checks it | ||||
|     against a list of 1000 common password created by `Mark Burnett | ||||
|     <https://web.archive.org/web/20150315154609/https://xato.net/passwords/more-top-worst-passwords/>`_. | ||||
|  | ||||
|     The ``password_list_path`` can be set to the path of a custom file of | ||||
|     common passwords. This file should contain one password per line and | ||||
|     may be plain text or gzipped. | ||||
|     common passwords. This file should contain one lowercase password per line | ||||
|     and may be plain text or gzipped. | ||||
|  | ||||
| .. class:: NumericPasswordValidator() | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user