Closed gfmurphy closed 5 months ago
Steps to reproduce
config.raise_on_missing_callback_actions = true
auto_session_timeout
Expected results Page loads
Actual results Unknown action returned (404 status)
Notes
Question Since active and timeout are documented to require get method, can we remove the protect_from_forgery call altogether? Is it required for get? This would allow us to run application with raise_on_missing_callback_actions = true
active
timeout
get
protect_from_forgery
raise_on_missing_callback_actions = true
That's correct, protect_from_forgery is not required for GET requests. I'd be happy to merge a PR if you create one.
Resolved by https://github.com/pelargir/auto-session-timeout/pull/47
Steps to reproduce
config.raise_on_missing_callback_actions = true
setauto_session_timeout
to controllerExpected results Page loads
Actual results Unknown action returned (404 status)
Notes
Question Since
active
andtimeout
are documented to requireget
method, can we remove theprotect_from_forgery
call altogether? Is it required forget
? This would allow us to run application withraise_on_missing_callback_actions = true