Skip to content

Instantly share code, notes, and snippets.

View lmcosorio's full-sized avatar

Luis Osorio lmcosorio

View GitHub Profile
@rogatec
rogatec / AuthController.php
Created August 25, 2016 07:30
Zend Framework 3 Authentication with Session setup
<?php
namespace Authentication\Controller;
use Employee\Model\EmployeeTable;
use Main\Form\LoginForm;
use Zend\Authentication\Adapter\DbTable\CredentialTreatmentAdapter;
use Zend\Authentication\AuthenticationService;
use Zend\Db\Sql\Select;
use Zend\Mvc\Controller\AbstractActionController;