mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
0d486bdab4
When unauthenticated users accesses protected areas, they are greeted with the default 'You are not allowed to access that location' which is not desired in some cases. This patch allows applications to suppress this message by setting AuthComponent::authError to false bypassing the call to SessionComponent::setFlash() altogether. Refs: https://github.com/croogo/croogo/pull/175#discussion_r4714240 |
||
---|---|---|
.. | ||
Component | ||
CakeErrorController.php | ||
Component.php | ||
ComponentCollection.php | ||
Controller.php | ||
Scaffold.php |