cakephp2-php8/lib/Cake/Test/Case
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
..
Cache Merge branch 'master' into 2.4 2013-06-09 18:08:32 +05:30
Configure Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
Console Merge branch 'master' into 2.4 2013-06-10 22:12:10 -04:00
Controller AuthComponent: Allow suppressing authError message 2013-06-17 09:33:59 +07:00
Core Merge branch 'master' into 2.4 2013-06-09 18:08:32 +05:30
Error Merge branch 'master' into 2.4 2013-06-16 13:07:44 +05:30
Event Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
I18n Merge branch 'master' into 2.4 2013-06-02 18:03:59 +05:30
Log Merge branch 'master' into 2.4 2013-06-02 18:03:59 +05:30
Model Merge branch 'master' into 2.4 2013-06-16 13:07:44 +05:30
Network Merge branch 'master' into 2.4 2013-06-16 13:07:44 +05:30
Routing Merge branch 'master' into 2.4 2013-06-10 22:12:10 -04:00
TestSuite Fix coding standards. 2013-05-31 10:37:20 -04:00
Utility Merge branch 'master' into 2.4 2013-06-10 22:12:10 -04:00
View Merge branch 'master' into 2.4 2013-06-16 13:07:44 +05:30
AllBehaviorsTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
AllCacheTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
AllComponentsTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
AllConfigureTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
AllConsoleTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
AllControllerTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
AllCoreTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
AllDatabaseTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
AllErrorTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
AllEventTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
AllHelpersTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
AllI18nTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
AllLogTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
AllNetworkTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
AllRoutingTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
AllTestsTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
AllTestSuiteTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
AllUtilityTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
AllViewTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
BasicsTest.php Merge branch 'master' into 2.4 2013-06-02 18:03:59 +05:30