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

Handle csrf stored in sessions #110

Closed
wants to merge 2 commits into from
Closed

Handle csrf stored in sessions #110

wants to merge 2 commits into from

Conversation

Intestinall
Copy link

This allow to use CSRF_USE_SESSIONS = True which store crsf token in session instead of cookies.tting CSRF_USE_SESSIONS = True.
It checks if csrf token found in cookies otherwise try to get csrf token in session.

Handle case when crsf token stored with setting CSRF_USE_SESSIONS = True.
@xenatisch
Copy link
Collaborator

xenatisch commented Mar 3, 2018

Thank you for this contribution, but I am afraid you have edited the wrong file. The JavaScript file you have edited (I assume painstakingly) is the compiled version.

The JavaScript part of the package is written in TypeScript, and then transcompiled onto JavaScript, which is then minified. Please read the contributions section of the documentations.

@Intestinall
Copy link
Author

Oh sorry, I will do it in TypeScript.

@JeroenvO
Copy link

This one can be closed in favor of #111 i assume?

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.

None yet

3 participants