Compare commits
2 Commits
278faa7319
...
64f34a71dc
Author | SHA1 | Date | |
---|---|---|---|
64f34a71dc | |||
1fb6c483ed |
@ -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: Rails.env.production?,
|
secure: false,
|
||||||
same_site: :strict
|
same_site: :strict
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user