I've developped a web-app using Zend 2, and now that I'm wondering to add to it an authentication page, I dont know if it's a good practice to set a connectionAction() into my IndexController with disabling the layout.
What's the recommanded way to proceed ?
Thanks in advance!