cakephp2-php8/lib/Cake/Test/Case/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
ComponentCollectionTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
ComponentTest.php remove name attribute where not necessary, clean up doc blocks 2013-06-08 04:29:08 +02:00
ControllerMergeVarsTest.php doc block 2013-06-10 15:10:32 +02:00
ControllerTest.php Fixed unit-test locales 2013-06-11 20:18:40 +02:00
PagesControllerTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
ScaffoldTest.php Fixed unit-test locales 2013-06-11 20:18:40 +02:00