Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct login info suddenly doesn't match, can't login #930

Open
gajang opened this issue Dec 23, 2024 · 2 comments
Open

Correct login info suddenly doesn't match, can't login #930

gajang opened this issue Dec 23, 2024 · 2 comments

Comments

@gajang
Copy link

gajang commented Dec 23, 2024

Definitely correct as its cached in browser. Hosted locally with Docker Container, everything up to date, no changes made between the last time it worked & now, where it only returns "Your username and password didn't match. Please try again."

I'm not very experienced with any aspect of Docker & SQL so I don't know what more information is relevant to find a fix, but my setup followed the steps as described, and it was fully working for the last month since creation.

@npondel
Copy link

npondel commented Jan 21, 2025

I was using header-based auth perfectly fine, but I tried creating a superuser using the "createsuperuser" function and I simply can't get it to take the password I've created. Tried multiple terminals and creating another account but to no luck.

I'm curious if anyone else is able to create a superuser on the command line currently.

@npondel
Copy link

npondel commented Jan 24, 2025

I figured out my issue. It seems that with proxy header auth on, logging in as another user with a username/password simply does not work. So, you must disable header auth, use the python script to setup a superadmin, then go into the "users" panel in the admin console and designate your header-based user as superadmin. You can keep the other account around for emergencies, or delete it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants