From 10bc1f2ef1f1038c496deef409ff03decc754965 Mon Sep 17 00:00:00 2001 From: berbeflo <48961978+berbeflo@users.noreply.github.com> Date: Fri, 7 Jan 2022 09:44:14 +0100 Subject: [PATCH] fix Password Hasher php-standalone example the php-standalone example for Password Hasher had a configuration for User twice, while the comment and other examples indicated, the second should've been a configuration for PasswordAuthenticatedUserInterface --- security/passwords.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/passwords.rst b/security/passwords.rst index 6bf37d51806..e30e517f895 100644 --- a/security/passwords.rst +++ b/security/passwords.rst @@ -101,7 +101,7 @@ optionally some *algorithm options*: User::class => ['algorithm' => 'auto'], // auto hasher with custom options for all PasswordAuthenticatedUserInterface instances - User::class => [ + PasswordAuthenticatedUserInterface::class => [ 'algorithm' => 'auto', 'cost' => 15, ],