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

CSRF token validation failed error after 2.4 install #341

Closed
jgadbois opened this issue Jun 10, 2019 · 6 comments
Closed

CSRF token validation failed error after 2.4 install #341

jgadbois opened this issue Jun 10, 2019 · 6 comments

Comments

@jgadbois
Copy link

I'm attempting to install cachet via docker with the latest dockerfile. Everything works fine until I attempt to login, then I get CSRF TOKEN VALIDATION FAILED errors on login.

I've tried overriding SESSION_DRIVER with pretty much every option (database, file, etc), but no matter what I get this error.

@jgadbois jgadbois changed the title CSRF TOKEN VALIDATION FAILED error after 2.4 install CSRF token validation failed error after 2.4 install Jun 10, 2019
@jgadbois
Copy link
Author

I'm using master, so it it possible that the latest pull request with the apc default could have broken things?

@jgadbois
Copy link
Author

It works once I switch to the 2.4 branch

@Mondrethos
Copy link

As @jgadbois said, switching the Docker Repo 2.4 branch fixes this issue.

@ofostier
Copy link

I finally resolve this issue with this trick
Set
APP_ENV=production
APP_DEBUG=false

@takuy
Copy link

takuy commented Sep 3, 2019

@jgadbois @shieldheart This doesn't seem to be a solution anymore. I'm trying to use 2.4 but still receive this error.

@linglingqi007
Copy link

@jgadbois @shieldheart This doesn't seem to be a solution anymore. I'm trying to use 2.4 but still receive this error.

If you checkout branch 2.4, need rm before build image. rebuild image.

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

5 participants