8000 AppBundle->App. · symfony/symfony@b455237 · GitHub
[go: up one dir, main page]

Skip to content

Commit b455237

Browse files
committed
AppBundle->App.
1 parent 601cc08 commit b455237

File tree

2 files changed

+6
-6
lines changed
< 8000 div id="diff-content-parent" tabindex="-1">

2 files changed

+6
-6
lines changed

src/Symfony/Bundle/SecurityBundle/Command/UserPasswordEncoderCommand.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ protected function configure()
7575
security:
7676
encoders:
7777
Symfony\Component\Security\Core\User\User: plaintext
78-
AppBundle\Entity\User: bcrypt
78+
App\Entity\User: bcrypt
7979
</comment>
8080
8181
If you execute the command non-interactively, the first available configured
@@ -87,16 +87,16 @@ protected function configure()
8787
Pass the full user class path as the second argument to encode passwords for
8888
your own entities:
8989
90-
<info>php %command.full_name% --no-interaction [password] AppBundle\Entity\User</info>
90+
<info>php %command.full_name% --no-interaction [password] App\Entity\User</info>
9191
9292
Executing the command interactively allows you to generate a random salt for
9393
encoding the password:
9494
95-
<info>php %command.full_name% [password] AppBundle\Entity\User</info>
95+
<info>php %command.full_name% [password] App\Entity\User</info>
9696
9797
In case your encoder doesn't require a salt, add the <comment>empty-salt</comment> option:
9898
99-
<info>php %command.full_name% --empty-salt [password] AppBundle\Entity\User</info>
99+
<info>php %command.full_name% --empty-salt [password] App\Entity\User</info>
100100
101101
EOF
102102
)

src/Symfony/Bundle/SecurityBundle/DependencyInjection/MainConfiguration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,8 @@ private function addEncodersSection(ArrayNodeDefinition $rootNode)
410410
->children()
411411
->arrayNode('encoders')
412412
->example(array(
413-
'AppBundle\Entity\User1' => 'bcrypt',
414-
'AppBundle\Entity\User2' => array(
413+
'App\Entity\User1' => 'bcrypt',
414+
'App\Entity\User2' => array(
415415
'algorithm' => 'bcrypt',
416416
'cost' => 13,
417417
),

0 commit comments

Comments
 (0)
0