maj nineskeletor
Cadoles/nineskeletor/pipeline/head There was a failure building this commit Details

This commit is contained in:
afornerot 2023-01-10 16:11:12 +01:00
parent cedd6bfcec
commit c7c1f9caa7
1 changed files with 2 additions and 2 deletions

View File

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