@@ -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 Symfony knowshow to load your users via the ``email `` property on
415+ login. See :ref: `authenticating-someone-with-a-custom-entity-provider `.
416416
417417Adding a "accept terms" Checkbox
418418--------------------------------