We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c81e89 commit c248890Copy full SHA for c248890
src/Controller/DebugKitController.php
@@ -43,7 +43,7 @@ public function beforeFilter(EventInterface $event): void
43
// ignore it, only if `DebugKit.ignoreAuthorization` is set to true
44
$authorizationService = $this->getRequest()->getAttribute('authorization');
45
if ($authorizationService instanceof AuthorizationService) {
46
- if (Configure::read('DebugKit.ignoreAuthorization') || Configure::read('debug')) {
+ if (Configure::read('DebugKit.ignoreAuthorization') !== false) {
47
$authorizationService->skipAuthorization();
48
} else {
49
Log::info(
0 commit comments