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

Add setting to disable csrf on local #2069

Merged
merged 3 commits into from
Sep 8, 2024
Merged

Add setting to disable csrf on local #2069

merged 3 commits into from
Sep 8, 2024

Conversation

emmiegit
Copy link
Member

@emmiegit emmiegit commented Sep 8, 2024

Since we have a local nginx instance, it is causing the domain to differ which is messing with ORIGIN checking in the CSRF safety check.

See also: https://stackoverflow.com/questions/73790956/cross-site-post-form-submissions-are-forbidden

@emmiegit emmiegit self-assigned this Sep 8, 2024
@emmiegit emmiegit removed the request for review from Zokhoi September 8, 2024 19:07
@emmiegit emmiegit merged commit 86c5b23 into develop Sep 8, 2024
6 checks passed
@emmiegit emmiegit deleted the cross-origin branch September 8, 2024 19:12
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

Successfully merging this pull request may close these issues.

2 participants