- Issue created by @markdorison
- last update
over 1 year ago 21 pass - @markdorison opened merge request.
- Status changed to Needs review
over 1 year ago 7:04pm 28 June 2023 - π¬π§United Kingdom barry_fisher
Hi Mark,
Patch is good and applies cleanly. It's a simple and logical fix, so hopefully this will get accepted by the maintainer.
Thanks!
- Status changed to RTBC
over 1 year ago 11:06pm 29 June 2023 - Status changed to Needs work
over 1 year ago 2:20pm 5 July 2023 - π΅πΉPortugal jcnventura
It fixes the problem, but this is not the correct way to fix it.
The isValid property is only ever used inside the protected validate() function in the TfaRecoveryCode, TfaHotp and TfaTotp plugins, and can be trivially simplified by the direct return of the boolean value instead of the assignment to the dynamic property followed by the return.
I think we can all agree that promoting an internal temporary value of the validate() function to be a property of the plugin base class is not the best way to solve this.
- last update
over 1 year ago 21 pass - Status changed to Needs review
over 1 year ago 9:32pm 17 July 2023 - πΊπΈUnited States markdorison
I was just assuming that the implementation was intentional, but I am happy to make the change as suggested!
- last update
over 1 year ago 21 pass We will use this patch in drupal 10 until it is officially released.
-
jcnventura β
authored ee617059 on 2.x
Issue #3371146 by markdorison, leo liao, Barry_Fisher, jcnventura:...
-
jcnventura β
authored ee617059 on 2.x
- Status changed to Fixed
over 1 year ago 1:34pm 29 July 2023 Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
10 months ago 10:38am 20 February 2024 - πΊπΈUnited States apotek
Unfortunately, this did not get ported to the 8x-1.7 release and there is no stable 2 release. So while this is closed, it isn't really fixed for any sites which require stable releases.
Is there a plan to make a 2.x release? As more and more people update to PHP 8.2/8.3 (Acquia is moving everyone onto those versions now), this issue will only get more widespread.
- π¬π§United Kingdom rupertj Bristol, UK
@apotek This issue isn't present in the 8.x-1.x branch, so there's nothing to port. You can find the roadmap for a 2.x release here: https://www.drupal.org/project/tfa/issues/3374845 π± Roadmap for 2.0.0 release Active