mirror of
https://github.com/ansible/awx.git
synced 2026-05-18 06:47:41 -02:30
use md5 pass hasher when dev or testing
This commit is contained in:
@@ -53,6 +53,12 @@ if 'django_jenkins' in INSTALLED_APPS:
|
|||||||
JSHINT_CHECKED_FILES = [os.path.join(BASE_DIR, 'ui/static/js'),
|
JSHINT_CHECKED_FILES = [os.path.join(BASE_DIR, 'ui/static/js'),
|
||||||
os.path.join(BASE_DIR, 'ui/static/lib/ansible'),]
|
os.path.join(BASE_DIR, 'ui/static/lib/ansible'),]
|
||||||
|
|
||||||
|
# Much faster than the default
|
||||||
|
# https://docs.djangoproject.com/en/1.6/topics/auth/passwords/#how-django-stores-passwords
|
||||||
|
PASSWORD_HASHERS = (
|
||||||
|
'django.contrib.auth.hashers.MD5PasswordHasher',
|
||||||
|
)
|
||||||
|
|
||||||
# Configure a default UUID for development only.
|
# Configure a default UUID for development only.
|
||||||
SYSTEM_UUID = '00000000-0000-0000-0000-000000000000'
|
SYSTEM_UUID = '00000000-0000-0000-0000-000000000000'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user