Commit f37f315e authored by kanellov's avatar kanellov

fix login handler factory

parent eae0c281
......@@ -59,7 +59,6 @@ return function (Slim\App $app) {
$c['view'],
$c['authentication_service'],
$c['flash'],
$c['csrf'],
$c['router']->pathFor('index')
);
};
......
......@@ -14,7 +14,6 @@ use Slim\Flash\Messages;
use Slim\Http\Request;
use Slim\Http\Response;
use Slim\Views\Twig;
use Zend\Authentication\Adapter\AdapterInterface;
use Zend\Authentication\Adapter\ValidatableAdapterInterface;
use Zend\Authentication\AuthenticationService;
......@@ -40,13 +39,13 @@ class Login
*/
protected $successUrl;
/**
* Constructor.
*
* @param Twig $view
*
* @param Twig $view
* @param AuthenticationService $authService
* @param AdapterInterface $authAdapter
* @param Messages $flash
* @param Messages $flash
* @param type $successUrl
*/
public function __construct(
Twig $view,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment