Auth: Remove setting the not existent layout 'login' when logging out externally authenticated users

fixes #7191
This commit is contained in:
Eric Lippmann 2014-10-29 16:31:17 +01:00
parent eb9fe0966b
commit 2698516005
1 changed files with 0 additions and 1 deletions

View File

@ -148,7 +148,6 @@ class AuthenticationController extends ActionController
$isRemoteUser = $auth->getUser()->isRemoteUser();
$auth->removeAuthorization();
if ($isRemoteUser === true) {
$this->_helper->layout->setLayout('login');
$this->_response->setHttpResponseCode(401);
} else {
$this->redirectToLogin();