django-trench icon indicating copy to clipboard operation
django-trench copied to clipboard

exception when using Argon2PasswordHasher first in PASSWORD_HASHERS

Open nicokant opened this issue 5 years ago • 1 comments

Hi, I use cookiecutter-django in a project, which by default use in this settings

PASSWORD_HASHERS = [
    # https://docs.djangoproject.com/en/dev/topics/auth/passwords/#using-argon2-with-django
   "django.contrib.auth.hashers.Argon2PasswordHasher",
   "django.contrib.auth.hashers.PBKDF2PasswordHasher",
   "django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher",
   "django.contrib.auth.hashers.BCryptSHA256PasswordHasher",
]

This seems to create a problem with login code verification, in particular when using Argon2PasswordHasher as first hasher

nicokant avatar Feb 06 '20 08:02 nicokant

Hello @nicokant, could You please post a little bit more information about this issue? At least information about raised exception. We will do our best to help You :-)

mostaszewski avatar Feb 22 '20 16:02 mostaszewski

Fixed in the 0.3.0 release https://github.com/merixstudio/django-trench/pull/82#issuecomment-981698082

wmaciejewskimer avatar Nov 28 '22 08:11 wmaciejewskimer