Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit44d7479

Browse files
committed
[#6255] some tweaks
1 parent134d90e commit44d7479

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎cookbook/doctrine/registration_form.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,9 @@ into the database::
217217

218218
use AppBundle\Form\UserType;
219219
use AppBundle\Entity\User;
220+
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
220221
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
221222
use Symfony\Component\HttpFoundation\Request;
222-
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
223223

224224
class RegistrationController extends Controller
225225
{
@@ -247,7 +247,7 @@ into the database::
247247
$em->persist($user);
248248
$em->flush();
249249

250-
// ... do any other work - likesend them an email, etc
250+
// ... do any other work - likesending them an email, etc
251251
// maybe set a "flash" success message for the user
252252

253253
$redirectUrl = $this->generateUrl('replace_with_some_route');
@@ -410,9 +410,9 @@ return the ``email`` property::
410410
// ...
411411
}
412412

413-
Next, just update the ``providers`` section of your ``security.yml``so that Symfony
414-
knows to load your users via the ``email`` property on login. See
415-
:ref:`authenticating-someone-with-a-custom-entity-provider`.
413+
Next, just update the ``providers`` section of your ``security.yml``file
414+
so that Symfonyknowshowto load your users via the ``email`` property on
415+
login. See:ref:`authenticating-someone-with-a-custom-entity-provider`.
416416

417417
Adding a "accept terms" Checkbox
418418
--------------------------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp