maj nineskeletor
Cadoles/nineskeletor/pipeline/head There was a failure building this commit
Details
Cadoles/nineskeletor/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
cedd6bfcec
commit
c7c1f9caa7
|
@ -371,7 +371,7 @@ class SecurityController extends AbstractController
|
|||
|
||||
return $this->redirect($this->generateUrl('app_home'));
|
||||
}
|
||||
|
||||
|
||||
public function logoutOPENID(Request $request)
|
||||
{
|
||||
$accesstoken = $request->getSession()->get('oauthAccesstoken');
|
||||
|
@ -382,7 +382,7 @@ class SecurityController extends AbstractController
|
|||
$request->getSession()->invalidate();
|
||||
|
||||
$url = $this->getParameter('oauthLogouturl');
|
||||
if ($url) {
|
||||
if ($url && $idtoken) {
|
||||
$callback = ($request->isSecure() ? 'https://' : 'http://').str_replace('//', '/', $this->getParameter('appWeburl').$this->getParameter('appAlias').$this->generateUrl('app_home'));
|
||||
$callback = substr($callback, 0, -1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue