add login form to 403 error pages and add referrer param for user login
This commit is contained in:
parent
d222ca96b6
commit
fdf20b3378
5 changed files with 33 additions and 4 deletions
|
|
@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue