xperseguers / t3ext-ig_ldap_sso_auth

TYPO3 Extension ig_ldap_sso_auth. This extension provides LDAP and SSO support for TYPO3.

Home Page:https://extensions.typo3.org/extension/ig_ldap_sso_auth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

disable mapping not working anymore

klodeckl opened this issue · comments

Hello! The mapping of the field disable doesn’t work anymore:

disable = <loginDisabled>
disable.replacement.10 {
search = TRUE
replace = 1
}

Commenting the following lines (240 and 248) in Classes/Utility/UserImportUtility.php lets it work again:
$user[$GLOBALS['TCA'][$this->userTable]['ctrl']['enablecolumns']['disabled']] = 0;

(The regular way of disabling a user doesn’t work in my case (Microfocus eDirectory is used).)

TYPO3 11 (in TYPO3 10 it worked without modifications), ig_ldap_sso_auth 3.7.1 and 3.8dev. PHP 8.2.