protected function _actionGet(KCommandContext $context) { //Force the application template KRequest::set('get.tmpl', 'login'); //Set the status $context->status = KHttpResponse::UNAUTHORIZED; //Set the authentciation header //$context->headers = array('WWW-Authenticate', 'Basic Realm="'.KRequest::base().'"'); return parent::_actionGet($context); }