Skip to content

authenticity token: removed reference of compatibility with rack_csrf - #1781

Merged
jkowens merged 3 commits into
sinatra:masterfrom
HoneyryderChuck:patch-1
May 20, 2022
Merged

jkowens merged 3 commits into
sinatra:masterfrom
HoneyryderChuck:patch-1

Conversation

@HoneyryderChuck

Copy link
Copy Markdown
Contributor

Instead, replaced it with a snippet on how to provide compatibility.

Fixes #1778

Instead, replaced it with a snippet on how to provide compatibility.

Fixes sinatra#1778
@jkowens

jkowens commented May 16, 2022

Copy link
Copy Markdown
Member

This looks good other than it references Omniauth, which might not be what someone is using. Could you make it more generic to just include a rack protection example? Thanks!

@HoneyryderChuck

Copy link
Copy Markdown
Contributor Author

@jkowens fixed the reference, thx for the review.

@jkowens
jkowens merged commit 029e27d into sinatra:master May 20, 2022
@jkowens

jkowens commented May 20, 2022

Copy link
Copy Markdown
Member

Thanks!

@HoneyryderChuck
HoneyryderChuck deleted the patch-1 branch May 20, 2022 15:18
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.

rack-protection: change authenticity_param default to rack_csrf default

2 participants