protected function checkSecurityToken()
{
$securityToken = $this->getSecurityToken();
if (!$securityToken->check($this->request->postVar(self::SECURITY_TOKEN_NAME))) {
$this->httpError(403, 'Invalid security token, try reloading the page.');
}
}