Skip to content

Commit 567d150

Browse files
glyeadamwojs
authored andcommitted
Improved config validation error message
1 parent f7c2aba commit 567d150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bundle/Core/DependencyInjection/Configuration/Parser/PasswordHash.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function addSemanticConfig(NodeBuilder $nodeBuilder): void
5151

5252
return !in_array($hashType, User::SUPPORTED_PASSWORD_HASHES, true);
5353
})
54-
->thenInvalid('Invalid password hash type "%s".')
54+
->thenInvalid('Invalid password hash type "%s". If you tried to use Argon2, make sure it\'s compiled in PHP.')
5555
->end()
5656
->end()
5757
->booleanNode('update_type_on_change')

0 commit comments

Comments
 (0)