From abd2801ac8d733083fe45b859acd091097a3f5c7 Mon Sep 17 00:00:00 2001 From: yuri Date: Mon, 25 Feb 2019 11:56:58 +0200 Subject: [PATCH] console auth --- application/Espo/Core/Application.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/Espo/Core/Application.php b/application/Espo/Core/Application.php index 8ce83e2390..5418944179 100644 --- a/application/Espo/Core/Application.php +++ b/application/Espo/Core/Application.php @@ -215,6 +215,9 @@ class Application public function runCommand(string $command) { + $auth = $this->createAuth(); + $auth->useNoAuth(); + $consoleCommandManager = $this->getContainer()->get('consoleCommandManager'); return $consoleCommandManager->run($command); }