Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Keel - LDH Middleware
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
26
Issues
26
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liberty
host
Keel - LDH Middleware
Commits
56a14428
Commit
56a14428
authored
Jun 23, 2017
by
David Seaward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set explicit AUTH_PASSWORD_VALIDATORS (only 15 character rule for now)
parent
9c4a4449
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
purist_account/settings.py
purist_account/settings.py
+8
-1
No files found.
purist_account/settings.py
View file @
56a14428
...
...
@@ -47,7 +47,14 @@ REG_GROUP_OBJECT_CLASSES = config("REG_GROUP_OBJECT_CLASSES", cast=Csv())
# AUTHENTICATION
#
# AUTH_PASSWORD_VALIDATORS = [] # override
AUTH_PASSWORD_VALIDATORS
=
[
{
'NAME'
:
'django.contrib.auth.password_validation.MinimumLengthValidator'
,
'OPTIONS'
:
{
'min_length'
:
15
,
}
},
]
AUTHENTICATION_BACKENDS
=
(
'django_auth_ldap.backend.LDAPBackend'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment