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 64 forks source link

[BUGFIX] Load all LDAP attributes when getGroupsProcessing is set #94

Closed derhansen closed 4 years ago

derhansen commented 4 years ago

There is just a simple s missing in the code, so all LDAP attributes are loaded when the given hook is configured.

The hook used in Library/Authentication.php is configured as following:

$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['ig_ldap_sso_auth']['getGroupsProcessing']

I think it is better to just add the s as suggested in this PR instead of removing the s in the Hook declaration, which would break existing implementations.