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

I created a super user and created a user in the django admin #23

Open
jondkelley opened this issue Dec 17, 2023 · 1 comment
Open

I created a super user and created a user in the django admin #23

jondkelley opened this issue Dec 17, 2023 · 1 comment

Comments

@jondkelley
Copy link

jondkelley commented Dec 17, 2023

But logging in as any user gets

Invalid form data.

Seems like the login form needs some changes to allow logins. I am evaluating LMS's for a non-profit. This would be nice but don't want to get too deep into the code unless I know there's not a ton of bugs.

I also disabled the csrf middleware

MIDDLEWARE = [
    'django.middleware.security.SecurityMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.middleware.common.CommonMiddleware',
    #'django.middleware.csrf.CsrfViewMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.contrib.messages.middleware.MessageMiddleware',
    'django.middleware.clickjacking.XFrameOptionsMiddleware'

]

but still have issues

@prem-2004
Copy link

Are your issues solved or not?

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