From 1898d4ff352f9602330035e116136560e2d3f0e6 Mon Sep 17 00:00:00 2001 From: Wim Molenberghs Date: Fri, 7 Feb 2020 07:50:31 +0100 Subject: [PATCH] Update UserPasswordEncoderCommand.php --- Command/UserPasswordEncoderCommand.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Command/UserPasswordEncoderCommand.php b/Command/UserPasswordEncoderCommand.php index a5537eca..3f336244 100644 --- a/Command/UserPasswordEncoderCommand.php +++ b/Command/UserPasswordEncoderCommand.php @@ -87,16 +87,16 @@ protected function configure() Pass the full user class path as the second argument to encode passwords for your own entities: - php %command.full_name% --no-interaction [password] App\Entity\User + php %command.full_name% --no-interaction [password] 'App\Entity\User' Executing the command interactively allows you to generate a random salt for encoding the password: - php %command.full_name% [password] App\Entity\User + php %command.full_name% [password] 'App\Entity\User' In case your encoder doesn't require a salt, add the empty-salt option: - php %command.full_name% --empty-salt [password] App\Entity\User + php %command.full_name% --empty-salt [password] 'App\Entity\User' EOF )