Auth: Remove setting the not existent layout 'login' when logging out externally authenticated users
fixes #7191
This commit is contained in:
parent
eb9fe0966b
commit
2698516005
|
@ -148,7 +148,6 @@ class AuthenticationController extends ActionController
|
||||||
$isRemoteUser = $auth->getUser()->isRemoteUser();
|
$isRemoteUser = $auth->getUser()->isRemoteUser();
|
||||||
$auth->removeAuthorization();
|
$auth->removeAuthorization();
|
||||||
if ($isRemoteUser === true) {
|
if ($isRemoteUser === true) {
|
||||||
$this->_helper->layout->setLayout('login');
|
|
||||||
$this->_response->setHttpResponseCode(401);
|
$this->_response->setHttpResponseCode(401);
|
||||||
} else {
|
} else {
|
||||||
$this->redirectToLogin();
|
$this->redirectToLogin();
|
||||||
|
|
Loading…
Reference in New Issue