Import NK15 passwords
This commit is contained in:
parent
71a88e84f7
commit
e28b19b353
2 changed files with 33 additions and 0 deletions
|
|
@ -110,6 +110,12 @@ AUTH_PASSWORD_VALIDATORS = [
|
|||
},
|
||||
]
|
||||
|
||||
# Use our custom hasher in order to import NK15 passwords
|
||||
PASSWORD_HASHERS = [
|
||||
'django.contrib.auth.hashers.PBKDF2PasswordHasher',
|
||||
'member.hashers.CustomNK15Hasher',
|
||||
]
|
||||
|
||||
# Django Guardian object permissions
|
||||
|
||||
AUTHENTICATION_BACKENDS = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue