You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
seems really un-necessary to create+inject a change password form, register form, etc when someone is just logging in, same goes for other controller actions
The text was updated successfully, but these errors were encountered:
nclundsten
changed the title
eager loading of all forms from factories into controller when pulled from service manager
eager loading all forms from factories into controller when pulled from service manager
Jun 30, 2016
nclundsten
changed the title
eager loading all forms from factories into controller when pulled from service manager
UserControllerFactory eager loading all forms from factories
Jun 30, 2016
nclundsten
changed the title
UserControllerFactory eager loading all forms from factories
UserControllerFactory over-eager loading of all forms from factories
Jun 30, 2016
Creating (injecting) the login form in UserControllerFactory causes all flash messages to be lost! This means that when a user changes their password or e-mail address the feedback message will not be displayed.
The UserController::setLoginForm method changes the namespace of the flashMessenger causing all previous messages to be lost.
Remove all the form creation methods and save the overhead of creating forms that will not be needed.
https://github.com/ZF-Commons/ZfcUser/blob/1.4.3/src/ZfcUser/Factory/Controller/UserControllerFactory.php
seems really un-necessary to create+inject a change password form, register form, etc when someone is just logging in, same goes for other controller actions
The text was updated successfully, but these errors were encountered: