$post_token = Input::post('fuel_csrf_token');
$cookie_token = Input::cookie('fuel_csrf_token');
if ($post_token == $cookie_token)
{
return true;
}
else
{
$this->set_message('check_csrf_token', 'CSRF token error.');
return false;
}
}
It looks like you're new here. If you want to get involved, click one of these buttons!