Migrating Parse.com passwords to Django

耗尽温柔 提交于 2019-12-06 05:33:25

Looks like you should be able to add bcrypt to PASSWORD_HASHERS in settings.py:

https://docs.djangoproject.com/en/dev/topics/auth/passwords/#using-bcrypt-with-django

This is very stupid by me. I had to make sure that bcrypt in the initial string is followed by double $$: bcrypt$$2a$10$UpoNYQ0YE/FRVrh3xt6QQeQ3HmTmskbW2Sfg5DX9fDQJnIHQd1LqG. Marking shtuff.it answer, as it is an actually correct one.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!