Skip to content

Commit ac302be

Browse files
committed
fix: remove strong_password
In previous versions, we used `strong_password` not `strong_password[]`.
1 parent 7c2c66b commit ac302be

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Commands/User.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,9 @@ private function setValidationRules(): void
232232
if (($key = array_search('strong_password[]', $passwordRules, true)) !== false) {
233233
unset($passwordRules[$key]);
234234
}
235+
if (($key = array_search('strong_password', $passwordRules, true)) !== false) {
236+
unset($passwordRules[$key]);
237+
}
235238

236239
/** @var Auth $config */
237240
$config = config('Auth');

0 commit comments

Comments
 (0)