Skip to content

Commit

Permalink
chore: Quick-Fix ::init only on login attempt.
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcesoldier committed Jul 12, 2024
1 parent 5a6abeb commit 74b1cd5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Classes/Service/AuthUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ class AuthUser extends AuthenticationService
*/
public function init(): bool
{
$loginTypePost = GeneralUtility::_POST('logintype');

if ($loginTypePost != 'login') {
return parent::init();
}

ExtensionManagementUtility::loadBaseTca(false);
if (!isset($GLOBALS['TSFE'])) {
$GLOBALS['TSFE'] = new stdClass();
Expand Down

0 comments on commit 74b1cd5

Please sign in to comment.