maj nineskeletor
Some checks failed
Cadoles/nineskeletor/pipeline/head There was a failure building this commit

This commit is contained in:
afornerot 2023-01-10 16:11:12 +01:00
parent cedd6bfcec
commit c7c1f9caa7

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