From c2e7e00cdd8e34fcac5c9c2945664fd46cc3db3a Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 6 Feb 2020 22:01:59 +0100 Subject: [PATCH] Demo user can trigger error. --- app/Http/Controllers/DebugController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/DebugController.php b/app/Http/Controllers/DebugController.php index 22208e761f..cd25ce80d8 100644 --- a/app/Http/Controllers/DebugController.php +++ b/app/Http/Controllers/DebugController.php @@ -51,7 +51,7 @@ class DebugController extends Controller public function __construct() { parent::__construct(); - $this->middleware(IsDemoUser::class); + $this->middleware(IsDemoUser::class)->except(['displayError']); } /**