src/Common/Controller/Base.php
protected function passwordProtectedRequest()
    {
        $oInput = Factory::service('Input');
        header('WWW-Authenticate: Basic realm="' . APP_NAME . ' - Restricted Area"');
        header($oInput->server('SERVER_PROTOCOL') . ' 401 Unauthorized');
        $oErrorHandler = Factory::service('ErrorHandler');
        $oErrorHandler->renderErrorView(401);
        exit(401);
    }
protected function passwordProtectedRequest()
    {
        $oInput = Factory::service('Input');
        header('WWW-Authenticate: Basic realm="' . APP_NAME . ' - Restricted Area"');
        header($oInput->server('SERVER_PROTOCOL') . ' 401 Unauthorized');
        $oErrorHandler = Factory::service('ErrorHandler');
        $oErrorHandler->renderErrorView(401);
        exit(401);
    }
protected function passwordProtectedRequest ( ) { $ oInput = Factory :: service ( 'Input' ) ; header ( 'WWW-Authenticate: Basic realm="' . APP_NAME . ' - Restricted Area"' ) ; header ( $ oInput -> server ( 'SERVER_PROTOCOL' ) . ' 401 Unauthorized' ) ; $ oErrorHandler = Factory :: service ( 'ErrorHandler' ) ; $ oErrorHandler -> renderErrorView ( 401 ) ; exit ( 401 ) ; }
Requests staging credentials

@return void
Requests staging credentials