cakephp2-php8/lib/Cake/Controller
Rachman Chavik 0d486bdab4 AuthComponent: Allow suppressing authError message
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
2013-06-17 09:33:59 +07:00
..
Component AuthComponent: Allow suppressing authError message 2013-06-17 09:33:59 +07:00
CakeErrorController.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
Component.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
ComponentCollection.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
Controller.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
Scaffold.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00