Review 13.4 Merged

89857[BUGFIX] Prevent type error in undefined felogin settings

Garvin Hicking CR +2 V +2 Easy +19 −3 updated 06/24/25, 18:24

Commit message

In case TypoScript/flexform settings for felogin are not
loaded, the checks for their values need to take possibly
unset array keys into account.

For this, null-coalescing is used to fallback to "null",
which then resolves to the falsy-elvis operator "?:" to
apply the actual default.

Checking "forgotLinkHashValidTime" is now additionally
secured to only contain numbers, so that "0" will properly
fall back to "12 hours".

Review

  • Code review CR +2 Done
    • Garvin Hicking +2
  • Verified V +2 Done
    • Garvin Hicking +2
    • core-ci +1 CI

Issues 1

Files 2

Review log 34

  1. Garvin Hicking commented on patch set 1 06/24/25, 18:08

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 06/24/25, 18:16 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/80783

  3. Garvin Hicking voted on patch set 1 CR +2 V +2 06/24/25, 18:24

  4. Garvin Hicking merged patch set 2 06/24/25, 18:24