Skip to content
Snippets Groups Projects
Commit 79556ff0 authored by vlorentz's avatar vlorentz
Browse files

Use faster password hashing in tests

PBKDF2 was taking about 30% of the runtime on my computer, possibly more on Jenkins.

This should fix timeouts we have been getting on Jenkins lately
parent d1cb1253
No related branches found
No related tags found
1 merge request!444Use faster password hashing in tests
Pipeline #12003 passed
...@@ -49,3 +49,7 @@ FILE_UPLOAD_HANDLERS = [ ...@@ -49,3 +49,7 @@ FILE_UPLOAD_HANDLERS = [
REST_FRAMEWORK = { REST_FRAMEWORK = {
"EXCEPTION_HANDLER": "swh.deposit.exception.custom_exception_handler", "EXCEPTION_HANDLER": "swh.deposit.exception.custom_exception_handler",
} }
PASSWORD_HASHERS = [
"django.contrib.auth.hashers.MD5PasswordHasher",
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment