-
-
Notifications
You must be signed in to change notification settings - Fork 438
Implement email verification upon user registration #603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
weaverryan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks solid - lets push it across the finish!
src/Resources/skeleton/registration/RegistrationController.tpl.php
Outdated
Show resolved
Hide resolved
weaverryan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks awesome - very close!
src/Resources/skeleton/registration/RegistrationController.tpl.php
Outdated
Show resolved
Hide resolved
...xtures/MakeRegistrationFormVerifyEmailFunctionalTest/src/Security/LoginFormAuthenticator.php
Show resolved
Hide resolved
|
|
||
| $form = $crawler->selectButton('Register')->form(); | ||
| $form['registration_form[email]'] = 'jr@rushlow.dev'; | ||
| $form['registration_form[plainPassword]'] = 'makeDockerComingSoon!'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀
|
|
||
| $client->request('GET', $context['signedUriComponents']->getSignedUrl()); | ||
|
|
||
| self::assertTrue(($query->getSingleResult())->isVerified()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What an awesome test!
8e6b9a8 to
0e2a1b5
Compare
0ad6575 to
2188851
Compare
2188851 to
83447ae
Compare
|
Awesome work Jesse - thank you! |
Adds support for email verification in
make:registration-formby means of the Symfony Cast's Verify Email Bundlecloses #542