@@ -217,9 +217,9 @@ into the database::
217
217
218
218
use AppBundle\Form\UserType;
219
219
use AppBundle\Entity\User;
220
+ use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
220
221
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
221
222
use Symfony\Component\HttpFoundation\Request;
222
- use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
223
223
224
224
class RegistrationController extends Controller
225
225
{
@@ -247,7 +247,7 @@ into the database::
247
247
$em->persist($user);
248
248
$em->flush();
249
249
250
- // ... do any other work - like send them an email, etc
250
+ // ... do any other work - like sending them an email, etc
251
251
// maybe set a "flash" success message for the user
252
252
253
253
$redirectUrl = $this->generateUrl('replace_with_some_route');
@@ -410,9 +410,9 @@ return the ``email`` property::
410
410
// ...
411
411
}
412
412
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 knows how to load your users via the ``email `` property on
415
+ login. See :ref: `authenticating-someone-with-a-custom-entity-provider `.
416
416
417
417
Adding a "accept terms" Checkbox
418
418
--------------------------------
0 commit comments