I noticed in the authenticationService.php file, the create method automatically logs you into the new user's account. I thought it would be nice to have the option to disable this feature because that way if you are logged in as an admin and are creating users it does not log you out of the main account which would force you to log out and back in again.
I was thinking something could be done for this by either adding an additional argument to the create method or by adding an option in the circlical.user.local.php file. I'm not sure which one would be preferable.
Great idea, I hadn't considered that use case, but agreed -- it'll probably be very common. Feel free to PR, I can otherwise add tests and do it tonight.
I noticed in the authenticationService.php file, the create method automatically logs you into the new user's account. I thought it would be nice to have the option to disable this feature because that way if you are logged in as an admin and are creating users it does not log you out of the main account which would force you to log out and back in again.
https://github.com/Saeven/zf3-circlical-user/blob/master/src/CirclicalUser/Service/AuthenticationService.php#L476
I was thinking something could be done for this by either adding an additional argument to the create method or by adding an option in the circlical.user.local.php file. I'm not sure which one would be preferable.
Let me know what you think!