Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion security/login_link.rst
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,10 @@ The properties are fetched from the user object using the
invalidating logic to your login links. For instance, if you store a
``$lastLinkRequestedAt`` property on your users that you update in the
``requestLoginLink()`` controller, you can invalidate all login links
whenever a user requests a new link.
whenever a user requests a new link. If you use DateTimeInterface
objects, make sure to add ``lastLinkRequestedAt.timestamp`` to the
signature properties, so it does not fail on different instances of
the object.

Configure a Maximum Use of a Link
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down