Invalid salt when logging in via django admin panel
Turns out this wasn't a code problem, it was a dependency problem. I had py-bcrypt installed on the server, but not bcrypt. It seems both libraries are necessary for the admin feature to work. I probably should have dockerized it.
I'm having some trouble hosting a django API on a separate server. When using localhost everything works, however when I log in to the server admin panel I get an "invalid salt" error.
Originally, I had my own login method that used bcrypt, but I decided to scrap that in favor of using facebook authentication. I've removed all references to bcrypt from my views. The problem lies with the built in admin interface. I haven't modified the code for that at all, but I am unable to log in. I can share my code, but I'm not even sure what files would be relevant to share, so I'm happy to update as needed.