Skip to content

Commit

Permalink
Revert "Use Argon2 for password hashing."
Browse files Browse the repository at this point in the history
Needs compiled dependencies, not needed for API yet.

This reverts commit 17bff58.
  • Loading branch information
jchristgit committed Sep 7, 2018
1 parent 17bff58 commit 439cc77
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 83 deletions.
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ verify_ssl = true
name = "pypi"

[packages]
django = {version = "==2.1.1", extras = ["argon2"]}
django = "==2.1.1"
django-hosts = "==3.0"
django-environ = "==0.4.5"
"psycopg2-binary" = "==2.7.5"
Expand Down
80 changes: 4 additions & 76 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions pysite/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,6 @@
},
]

PASSWORD_HASHERS = [
'django.contrib.auth.hashers.Argon2PasswordHasher',
'django.contrib.auth.hashers.PBKDF2PasswordHasher',
'django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher'
]


# Internationalization
# https://docs.djangoproject.com/en/2.1/topics/i18n/
Expand Down

0 comments on commit 439cc77

Please sign in to comment.