Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Σταύρος Παπαδάκης
gredu_labs
Commits
f37f315e
Commit
f37f315e
authored
Feb 24, 2016
by
kanellov
Browse files
fix login handler factory
parent
eae0c281
Changes
2
Hide whitespace changes
Inline
Side-by-side
module/authentication/bootstrap.php
View file @
f37f315e
...
...
@@ -59,7 +59,6 @@ return function (Slim\App $app) {
$c
[
'view'
],
$c
[
'authentication_service'
],
$c
[
'flash'
],
$c
[
'csrf'
],
$c
[
'router'
]
->
pathFor
(
'index'
)
);
};
...
...
module/authentication/src/Action/User/Login.php
View file @
f37f315e
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment