From ac302bea04dec52e934e08f9de8f8c158f7fe8d5 Mon Sep 17 00:00:00 2001 From: kenjis Date: Sun, 24 Sep 2023 16:29:29 +0900 Subject: [PATCH] fix: remove `strong_password` In previous versions, we used `strong_password` not `strong_password[]`. --- src/Commands/User.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Commands/User.php b/src/Commands/User.php index c78b86e01..9a2b39c1f 100644 --- a/src/Commands/User.php +++ b/src/Commands/User.php @@ -232,6 +232,9 @@ private function setValidationRules(): void if (($key = array_search('strong_password[]', $passwordRules, true)) !== false) { unset($passwordRules[$key]); } + if (($key = array_search('strong_password', $passwordRules, true)) !== false) { + unset($passwordRules[$key]); + } /** @var Auth $config */ $config = config('Auth');