Demo user can trigger error.

This commit is contained in:
James Cole
2020-02-06 22:01:59 +01:00
parent 554a702c0a
commit c2e7e00cdd

View File

@@ -51,7 +51,7 @@ class DebugController extends Controller
public function __construct()
{
parent::__construct();
$this->middleware(IsDemoUser::class);
$this->middleware(IsDemoUser::class)->except(['displayError']);
}
/**