Skip to content

Commit

Permalink
fix: remove strong_password
Browse files Browse the repository at this point in the history
In previous versions, we used `strong_password` not `strong_password[]`.
  • Loading branch information
kenjis committed Sep 24, 2023
1 parent 7c2c66b commit ac302be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Commands/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit ac302be

Please sign in to comment.