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

This commit is contained in:
afornerot 2023-01-10 16:10:52 +01:00
parent 8eaf759f88
commit f5d1995040

View File

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