Welcome Guest, Not a member yet? Register   Sign In
Issues with CSRF in CI4 tutorial
#5

(04-03-2023, 07:51 AM)luckmoshy Wrote: For example, if one sends a form post and you try to repeatĀ  instead of firing the message =
Code:
The action you requested is not allowed

it does Exceptions=
PHP Code:
"CodeIgniter\Security\Exceptions\SecurityException #403 (The action you requested is not allowed)".) 

But isn't this a setting in CI, that it should throw exceptions instead of printing/displaying errors?
Reply


Messages In This Thread
Issues with CSRF in CI4 tutorial - by joho - 03-31-2023, 02:48 AM
RE: Issues with CSRF in CI4 tutorial - by kenjis - 04-01-2023, 04:46 AM
RE: Issues with CSRF in CI4 tutorial - by joho - 04-04-2023, 12:08 AM
RE: Issues with CSRF in CI4 tutorial - by joho - 04-03-2023, 04:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB