@@ -19,7 +20,7 @@
diff --git a/application/controllers/AuthenticationController.php b/application/controllers/AuthenticationController.php index 3e8843722..c6fedb57c 100644 --- a/application/controllers/AuthenticationController.php +++ b/application/controllers/AuthenticationController.php @@ -74,6 +74,7 @@ class AuthenticationController extends Controller AuthenticationHook::triggerLogout($auth->getUser()); $auth->removeAuthorization(); if ($isExternalUser) { + $this->view->layout()->setLayout('external-logout'); $this->getResponse()->setHttpResponseCode(401); } else { $this->redirectToLogin(); diff --git a/application/layouts/scripts/external-logout.phtml b/application/layouts/scripts/external-logout.phtml new file mode 100644 index 000000000..a1df8b7ba --- /dev/null +++ b/application/layouts/scripts/external-logout.phtml @@ -0,0 +1,33 @@ +language; +$showFullscreen = $this->layout()->showFullscreen; +$innerLayoutScript = $this->layout()->innerLayout . '.phtml'; + +?> + + + +
+ + + + +