This commit is contained in:
a-sansara 2017-03-21 01:59:40 +01:00
parent e20bef3b9a
commit 2debb3dc02
2 changed files with 3 additions and 3 deletions

View File

@ -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",

View File

@ -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;
}