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

Send cookies while logged in #1541

Merged
merged 2 commits into from Jan 7, 2021
Merged

Send cookies while logged in #1541

merged 2 commits into from Jan 7, 2021

Conversation

david-a-wheeler
Copy link
Collaborator

We need to send cookies while logged in so that /logout
will work properly (it's needed for a CSRF countermeasure).

Signed-off-by: David A. Wheeler dwheeler@dwheeler.com

We need to send cookies while logged in so that /logout
will work properly (it's needed for a CSRF countermeasure).

Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
@david-a-wheeler david-a-wheeler mentioned this pull request Jan 7, 2021
Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
@david-a-wheeler
Copy link
Collaborator Author

This is more comment than code, because its purpose/approach is NOT obvious.

@codecov
Copy link

codecov bot commented Jan 7, 2021

Codecov Report

Merging #1541 (72dcfc5) into master (ac05778) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master     #1541   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           53        53           
  Lines         1918      1919    +1     
=========================================
+ Hits          1918      1919    +1     
Impacted Files Coverage Δ
app/controllers/application_controller.rb 100.00% <100.00%> (ø)

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 ac05778...72dcfc5. Read the comment docs.

@david-a-wheeler david-a-wheeler merged commit bc3efb6 into master Jan 7, 2021
@david-a-wheeler david-a-wheeler deleted the logout_cookie branch January 7, 2021 22:43
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