Skip to content

Conversation

@mbrodala
Copy link
Contributor

@mbrodala mbrodala commented Jun 3, 2022

Q A
Branch? 6.2
Bug fix? no
New feature? yes
Deprecations? yes
Tickets Fix #46561
License MIT
Doc PR symfony/symfony-docs#...

This adds a new parameter $lifetime to LoginLinkHandlerInterface::createLoginLink() and its default implementation LoginLinkHandler. This allows setting an lifetime for each login link individually compared to the static and shared lifetime configuration option.

@carsonbot
Copy link

Hey!

To help keep things organized, we don't allow "Draft" pull requests. Could you please click the "ready for review" button or close this PR and open a new one when you are done?

Note that a pull request does not have to be "perfect" or "ready for merge" when you first open it. We just want it to be ready for a first review.

Cheers!

Carsonbot

@mbrodala mbrodala force-pushed the login-link-custom-lifetime branch from acb6293 to a99fd44 Compare June 3, 2022 08:38
@mbrodala mbrodala marked this pull request as ready for review June 3, 2022 08:38
@mbrodala mbrodala requested review from chalasr and wouterj as code owners June 3, 2022 08:38
@carsonbot carsonbot added this to the 6.2 milestone Jun 3, 2022
@mbrodala
Copy link
Contributor Author

mbrodala commented Jun 3, 2022

No idea about the (unrelated?) test failures: https://github.com/symfony/symfony/runs/6722797430?check_suite_focus=true#step:8:4374

@mbrodala mbrodala force-pushed the login-link-custom-lifetime branch 2 times, most recently from 3891de9 to c28d322 Compare June 20, 2022 06:55
@fabpot fabpot force-pushed the login-link-custom-lifetime branch from df15098 to 2a153c8 Compare July 22, 2022 07:06
@fabpot
Copy link
Member

fabpot commented Jul 22, 2022

Thank you @mbrodala.

@fabpot fabpot merged commit 8f7d72e into symfony:6.2 Jul 22, 2022
@mbrodala mbrodala deleted the login-link-custom-lifetime branch July 30, 2022 16:40
@fabpot fabpot mentioned this pull request Oct 24, 2022
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.

Set custom lifetime for login link

4 participants