We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af66c7b commit df01dd7Copy full SHA for df01dd7
src/Authentication/Passwords/CompositionValidator.php
@@ -32,7 +32,7 @@ public function check(string $password, ?User $user = null): Result
32
throw AuthenticationException::forUnsetPasswordLength();
33
}
34
35
- $passed = mb_strlen($password) >= $this->config->minimumPasswordLength;
+ $passed = mb_strlen($password, 'UTF-8') >= $this->config->minimumPasswordLength;
36
37
if (! $passed) {
38
return new Result([
0 commit comments