You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to put the csrf token in a form with {{ csrftoken . }} I get:
Template Execution Panic in App/Index.html:
REVEL CSRF: _csrftoken missing from RenderArgs.
Here is my list of filters:
revel.Filters = []revel.Filter{
revel.PanicFilter, // Recover from panics and display an error page instead.
revel.RouterFilter, // Use the routing table to select the right Action
revel.FilterConfiguringFilter, // A hook for adding or removing per-Action filters.
revel.ParamsFilter, // Parse parameters into Controller.Params.
revel.SessionFilter, // Restore and write the session cookie.
csrf.CsrfFilter, //-- Cross site Forgery protection
revel.FlashFilter, // Restore and write the flash cookie.
revel.ValidationFilter, // Restore kept validation errors and save new ones from cookie.
revel.I18nFilter, // Resolve the requested language
HeaderFilter, // Add some security based headers
revel.InterceptorFilter, // Run interceptors around the action.
revel.CompressFilter, // Compress the result.
revel.ActionInvoker, // Invoke the action.
}
The text was updated successfully, but these errors were encountered:
When trying to put the csrf token in a form with
{{ csrftoken . }}
I get:Here is my list of filters:
The text was updated successfully, but these errors were encountered: