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

Updated csrf documentation #145

Merged
merged 1 commit into from
Feb 28, 2015
Merged

Updated csrf documentation #145

merged 1 commit into from
Feb 28, 2015

Conversation

jkosir
Copy link
Collaborator

@jkosir jkosir commented Feb 20, 2015

As discussed in #143, updated the csrf-protection in documentation.

Also removed the {% csrf_value %} approach, since it doesn't work with subsequent ajax requests, without "normal" page reloads. csrftoken cookie changes on every request, while the header would only be set on page load. Angular (and other AJAX heavy) apps can't work with HTTP_ONLY cookies.

jrief added a commit that referenced this pull request Feb 28, 2015
Updated csrf documentation
@jrief jrief merged commit 988abf6 into master Feb 28, 2015
@jkosir jkosir deleted the csrfupdate branch February 28, 2015 15:05
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

2 participants