Seditio Source
Root |
./othercms/xenForo 2.2.8/src/XF/Pub/View/Error/RegistrationRequired.php
<?php

namespace XF\Pub\View\Error;

class
RegistrationRequired extends \XF\Mvc\View
{
    public function
renderJson()
    {
       
$html = $this->renderTemplate($this->templateName, $this->params);

        return [
           
'status' => 'error',
           
'errors' => [$this->params['error']],
           
'errorHtml' => $this->renderer->getHtmlOutputStructure($html)
        ];
    }
}