From cfdef701aa839c5861fc3530453a4a91156e323d Mon Sep 17 00:00:00 2001 From: ryuring Date: Mon, 15 Jul 2024 19:02:13 +0900 Subject: [PATCH] =?UTF-8?q?5.1.0=E3=81=AB=E3=82=A2=E3=83=83=E3=83=97?= =?UTF-8?q?=E3=83=87=E3=83=BC=E3=83=88=E6=99=82=E3=81=AB=E3=80=81allow=5Fs?= =?UTF-8?q?imple=5Fpassword=20=E3=82=92=20true=20=E3=81=AB=E8=A8=AD?= =?UTF-8?q?=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/baser-core/config/update/5.1.0/updater.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugins/baser-core/config/update/5.1.0/updater.php b/plugins/baser-core/config/update/5.1.0/updater.php index 019fd45625..ac6f7c3f2e 100644 --- a/plugins/baser-core/config/update/5.1.0/updater.php +++ b/plugins/baser-core/config/update/5.1.0/updater.php @@ -12,6 +12,9 @@ /** * 5.1.0 アップデーター */ + +use BaserCore\Service\SiteConfigsServiceInterface; +use BaserCore\Utility\BcContainer; use BaserCore\Utility\BcUpdateLog; $updateDir = __DIR__; @@ -21,3 +24,7 @@ } else { BcUpdateLog::set(__d('baser_core', ROOT . DS . 'src' . DS . 'View' . DS . 'AjaxView.php に書き込み権限がありません。' . $updateDir . DS . 'src' . DS . 'View' . DS . 'AjaxView.php をコピーして手動で上書きしてください。')); } + +/** @var \BaserCore\Service\SiteConfigsService $siteConfigsService */ +$siteConfigsService = BcContainer::get()->get(SiteConfigsServiceInterface::class); +$siteConfigsService->setValue('allow_simple_password', true);