This repository was archived by the owner on Jun 16, 2024. It is now read-only.
This repository was archived by the owner on Jun 16, 2024. It is now read-only.
Open
Description
I was looking over the code and noticed that the registration form factory is defined in the form element manager configuration:
https://github.com/Bacon/BaconUser/blob/master/config/module.config.php#L40
However, the form registration service attempts to get the form from the service manager: https://github.com/Bacon/BaconUser/blob/master/src/BaconUser/Service/Factory/RegistrationServiceFactory.php#L31
There is no 'BaconUser\Form\RegistrationForm' key in the service manager configuration. I'm sure the form should be instantiated by the form element manager:
Like so:
$serviceLocator->get('FormElementManager')->get('BaconUser\Form\RegistrationForm')
I could be wrong and haven't tested anything, merely an observation.
Metadata
Metadata
Assignees
Labels
No labels