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

Fixed CSRF token not being available for Feedback form #1397

Merged
merged 1 commit into from
Oct 26, 2017

Conversation

ccostino
Copy link
Contributor

This changeset fixes the missing CSRF token for the feedback form by rendering it directly in the templates instead of trying to leverage a cookie that is not being set.

This changeset fixes the missing CSRF token for the feedback form by rendering it directly in the templates instead of trying to leverage a cookie that is not being set.
@codecov-io
Copy link

Codecov Report

Merging #1397 into develop will decrease coverage by 0.09%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           develop   #1397     +/-   ##
=========================================
- Coverage    79.49%   79.4%   -0.1%     
=========================================
  Files           46      46             
  Lines         3297    3297             
  Branches       497     497             
=========================================
- Hits          2621    2618      -3     
- Misses         676     679      +3
Impacted Files Coverage Δ
fec/fec/static/js/modules/feedback.js 97.29% <100%> (ø) ⬆️
fec/fec/static/js/modules/helpers.js 57.07% <0%> (-1.52%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a29afe9...a1b2c8f. Read the comment docs.

Copy link
Contributor

@johnnyporkchops johnnyporkchops left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@johnnyporkchops johnnyporkchops merged commit 73685ac into develop Oct 26, 2017
@johnnyporkchops johnnyporkchops deleted the feature/set-secure-csrf-cookie branch October 26, 2017 21:58
ccostino added a commit that referenced this pull request Oct 26, 2017
This changeset addresses an issue with the Feedback form and a missing CSRF token.  See PR #1397 for more details.
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.

3 participants