amend
This commit is contained in:
parent
e20bef3b9a
commit
2debb3dc02
|
@ -17,7 +17,7 @@
|
|||
}
|
||||
},
|
||||
"require": {
|
||||
"meta-tech/pws-auth" : "^2.1",
|
||||
"meta-tech/pws-auth" : "@dev",
|
||||
"meta-tech/silex-controller-service" : "^1.0",
|
||||
"silex/silex": "^2.0",
|
||||
"gecko-packages/gecko-silex-config-service": "^2.0",
|
||||
|
|
|
@ -133,7 +133,7 @@ class Authentication
|
|||
if (!empty($tokenResponse) || !empty($tokenResponse = $this->session->get('pwsauth.response'))) {
|
||||
$headers['Pws-Response'] = $tokenResponse;
|
||||
}
|
||||
return $headers
|
||||
return $headers;
|
||||
}
|
||||
|
||||
/*!
|
||||
|
@ -178,7 +178,7 @@ class Authentication
|
|||
$user = $this->session->get('user');
|
||||
// done : lets controller takes hand
|
||||
if (!is_null($user) && $user->key == $token->getIdent()) {
|
||||
$tokenResponse = $this->authenticator->generateResponseHeader($token, $user->login)
|
||||
$tokenResponse = $this->authenticator->generateResponseHeader($token, $user->login);
|
||||
$this->session->set('pwsauth.response', $tokenResponse);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user