add login form to 403 error pages and add referrer param for user login

This commit is contained in:
coderkun 2014-04-22 11:55:51 +02:00
commit fdf20b3378
5 changed files with 33 additions and 4 deletions

View file

@ -23,6 +23,8 @@
/**
* Action: index.
*
@ -41,6 +43,7 @@
// Display statuscode and message
$this->set('code', $httpStatusCode);
$this->set('string', \nre\core\WebUtils::$httpStrings[$httpStatusCode]);
$this->set('userId', $this->Auth->getUserId());
}
}