Skip to content

Commit 06aad72

Browse files
committed
minor #19821 [Security] Update login_link.rst (carlcasbolt)
This PR was submitted for the 7.0 branch but it was squashed and merged into the 6.4 branch instead. Discussion ---------- [Security] Update login_link.rst Missing use statements in CustomLoginLinkNotification example <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `7.x` for features of unreleased versions). --> Commits ------- cbf0283 [Security] Update login_link.rst
2 parents ac449c0 + cbf0283 commit 06aad72

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

security/login_link.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,8 @@ This will send an email like this to the user:
279279
// src/Notifier/CustomLoginLinkNotification
280280
namespace App\Notifier;
281281

282+
use Symfony\Component\Notifier\Message\EmailMessage;
283+
use Symfony\Component\Notifier\Recipient\EmailRecipientInterface;
282284
use Symfony\Component\Security\Http\LoginLink\LoginLinkNotification;
283285

284286
class CustomLoginLinkNotification extends LoginLinkNotification

0 commit comments

Comments
 (0)