xperseguers / t3ext-ig_ldap_sso_auth

TYPO3 Extension ig_ldap_sso_auth. This extension provides LDAP and SSO support for TYPO3.
https://extensions.typo3.org/extension/ig_ldap_sso_auth
27 stars 70 forks source link

disable mapping not working anymore #181

Open klodeckl opened 1 year ago

klodeckl commented 1 year ago

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.