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

Got 'CSRF verification failed. Request aborted.' when accessing admin panel after docker deployment #15

Closed
xiaoquqi opened this issue Mar 6, 2023 · 2 comments

Comments

@xiaoquqi
Copy link

xiaoquqi commented Mar 6, 2023

I use docker-compose.yml to deploy this project, I only change the client port from 80 to 10080 as my 80 is already in used.

    ports:
      - '10080:80'

After run docker-compose.yml, I use my browser to access the admin panel from remote(not localhost). Then I got 'CSRF verification failed. Request aborted' after login with username and password.

image

@OYLFLMH
Copy link

OYLFLMH commented Mar 6, 2023

image
My deployment results were the same, and I had to add the host address here to make it work.

@xiaoquqi
Copy link
Author

xiaoquqi commented Mar 6, 2023

Yes, after changed to my real ip in APP_DOMAIN, it fixed. Would you like to update README to clarify this?

@xiaoquqi xiaoquqi closed this as completed Mar 6, 2023
@WongSaang WongSaang mentioned this issue Mar 19, 2023
@oiabtt oiabtt mentioned this issue Mar 23, 2023
Closed
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