Using Guard Auth, Symfony 3.4, FOSuser Bundle.
My registered user, can create subaccount for different tasks. If my user logout, and login to that subaccount (routes from Fuser bundle) All works as expected. Account have needed priveledges, all works fine.
I would like to create for my logged user - a switcher for all his subaccounts. (Each subb account have his owner id, and acc_type field)
how create proper controller (inherits proper interfaces, etc), form, and use builded in FOSuser services to reload / switch user to his other account?
in render controller view (fill hidden field as his password, add "submit" btn to initiate login)