Skip to content

Commit c248890

Browse files
committed
Allow debug mode by default.
1 parent 8c81e89 commit c248890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controller/DebugKitController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function beforeFilter(EventInterface $event): void
4343
// ignore it, only if `DebugKit.ignoreAuthorization` is set to true
4444
$authorizationService = $this->getRequest()->getAttribute('authorization');
4545
if ($authorizationService instanceof AuthorizationService) {
46-
if (Configure::read('DebugKit.ignoreAuthorization') || Configure::read('debug')) {
46+
if (Configure::read('DebugKit.ignoreAuthorization') !== false) {
4747
$authorizationService->skipAuthorization();
4848
} else {
4949
Log::info(

0 commit comments

Comments
 (0)