We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e0d5a6 commit 464904fCopy full SHA for 464904f
security/login_link.rst
@@ -253,7 +253,7 @@ number::
253
'Welcome to MY WEBSITE!' // email subject
254
);
255
// create a recipient for this user
256
- $recipient = (new Recipient())->email($user->getEmail());
+ $recipient = new Recipient($user->getEmail());
257
258
// send the notification to the user
259
$notifier->send($notification, $recipient);
@@ -620,7 +620,7 @@ user create this POST request (e.g. by clicking a button)::
620
/**
621
* @Route("/login_check", name="login_check")
622
*/
623
- public function check()
+ public function check(Request $request)
624
{
625
// get the login link query parameters
626
$expires = $request->query->get('expires');
0 commit comments