Compare commits
No commits in common. "64f34a71dca3da7206e5fa6645302bfc4757ebe0" and "278faa73194e9f2208b723baaff597bfaabbcc6b" have entirely different histories.
64f34a71dc
...
278faa7319
@ -59,7 +59,7 @@ class ApplicationController < ActionController::Base
|
|||||||
def set_csrf_cookie
|
def set_csrf_cookie
|
||||||
cookies['csrf-token'] = {
|
cookies['csrf-token'] = {
|
||||||
value: form_authenticity_token,
|
value: form_authenticity_token,
|
||||||
secure: false,
|
secure: Rails.env.production?,
|
||||||
same_site: :strict
|
same_site: :strict
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user