Skip to content

Conversation

@wouterj
Copy link
Member

@wouterj wouterj commented Oct 13, 2020

Q A
Branch? 5.x
Bug fix? no
New feature? yes
Deprecations? no
Tickets -
License MIT
Doc PR -

This is useful when adding a page that requires a user action in order to validate the check link. That is required when using a single-use login link, to workaround browser and email client previews (which trigger a request).

See also the short docs discussion about this: symfony/symfony-docs#14389 (comment)

For reference, I choose this option name as it relates to the post_only option in the FormLoginAuthenticator, which is about exactly the same thing. I didn't think post_only was a 100% clear name, but I'm happy to change this option to that for complete consistency.

cc @weaverryan

@fabpot fabpot force-pushed the security/loginlink-request-method branch from 152a5e7 to 5093e0d Compare October 13, 2020 17:07
@fabpot
Copy link
Member

fabpot commented Oct 13, 2020

Thank you @wouterj.

@fabpot fabpot merged commit e83ad8b into symfony:5.x Oct 13, 2020
@wouterj wouterj deleted the security/loginlink-request-method branch October 13, 2020 18:43
@fabpot fabpot mentioned this pull request Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants