Skip to content

Commit dd563aa

Browse files
committed
restored csrf_meta_tags in <head> as without them CSRF cookie is only sent for pages with POST-like forms
1 parent b8e08ad commit dd563aa

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/views/layouts/_head.html.erb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@
7171
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
7272
<% end %>
7373

74+
<%= csrf_meta_tags %>
75+
7476
<%= yield(:head) %>
7577

7678
<% if content_for? :twitter_card_meta %>

0 commit comments

Comments
 (0)