Closed Patta closed 1 week ago
+1 I have this issue as well.
The problem seems that the controller name is not properly set in https://github.com/in2code-de/femanager/blob/07228e30b9c18cfba5351d8f535333338216b3b2/Classes/Controller/AbstractController.php#L617
If we set the controller name for the registration plugin like $controllerName = 'new';
the TypoScript setting removeFromUserGroupSelection
is working.
@Patta can you submit a pull request so this will get fixed for everyone, please? Everyone will be grateful to you, thanks!
@zobnov hard coding of the controller name to "new" in AbstractController would then only work as workaround for the usergroup field in the registration form. the getControllerName function in In2code\Femanager\Utility\FrontendUtility needs instead to be updated/migrated.
TYPO3 12.4.22 PHP 8.2 femanager 8.2.0
The TypoScript setting
plugin.tx_femanager.settings.new.misc.removeFromUserGroupSelection = 23,42
is not working anymore in v8.2.0. All usergroups are inserted in the usergroup select field.