Merge branch 'import_nk15' of gitlab.crans.org:bde/nk20 into import_nk15
This commit is contained in:
commit
efe32e45bf
2 changed files with 33 additions and 0 deletions
|
|
@ -117,6 +117,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