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();
|
||||
$auth->removeAuthorization();
|
||||
if ($isRemoteUser === true) {
|
||||
$this->_helper->layout->setLayout('login');
|
||||
$this->_response->setHttpResponseCode(401);
|
||||
} else {
|
||||
$this->redirectToLogin();
|
||||
|
|
Loading…
Reference in New Issue