[Cppcms-users] Suggestion: warn if csrf enabled but missing
Brought to you by:
artyom-beilis
From: <ele...@ex...> - 2012-04-26 02:47:56
|
Hi, This is just a suggestion - I just spent about 20 minutes trying to figure out why I get forbidden error(302) while trying to load context() into a rather complex form. And I completely forgot about adding <% csrf %> to the form. It would be great if a warning was logged that csrf is enabled but token is missing. Thanks, Petr |