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

Admin page is broken #3

Open
fido1hn opened this issue Oct 18, 2022 · 4 comments
Open

Admin page is broken #3

fido1hn opened this issue Oct 18, 2022 · 4 comments

Comments

@fido1hn
Copy link

fido1hn commented Oct 18, 2022

Admin page won't let super users to login, even though they're on the db with all necessary rights.

This fixed it for me:

AUTHENTICATION_BACKENDS = [
...
'django.contrib.auth.backends.ModelBackend',
...
]

added to config/settings.py

@earthcomfy
Copy link
Owner

@fido1hn Are you sure about that though? because I remember it worked. Anyways I'll take a look at it. Thanks.

@fido1hn
Copy link
Author

fido1hn commented Oct 19, 2022

Please take a look.

@CallMeProteus
Copy link

@fido1hn had a similar issue, try logging in with the email adress rather than the username

@earthcomfy
Copy link
Owner

The boilerplate doesn't include username-based auth, it's email/phone number with a password. If you want to have the default username-based authentication, you can add it to the authentication layer as @fido1hn mentioned. Thanks.

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

3 participants