We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbdafb1 commit e0c53d7Copy full SHA for e0c53d7
1 file changed
src/Authentication/Passwords/NothingPersonalValidator.php
@@ -79,7 +79,7 @@ protected function isNotPersonal(string $password, ?User $user): bool
79
if (! empty($domain)) {
80
$emailParts[] = $domain;
81
}
82
- $needles = array_merge($needles, $emailParts);
+ $needles = [...$needles, ...$emailParts];
83
84
// Get any other "personal" fields defined in config
85
$personalFields = $this->config->personalFields;
0 commit comments