Welcome Guest, Not a member yet? Register   Sign In
CSRF Protection
#1

What else do I have to besides inserting 

PHP Code:
<input type="hidden" name="<?= csrf_token() ?>" value="<?= csrf_hash() ?>" /> 

inside my form?
Simpler is always better
Reply
#2

You could have simply used:
Code:
<?= csrf_field() ?>

The rest of the instructions are in the docs. Let me know if anything's missing there.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB