Piwik\Plugins\Login\Controller::configureView PHP Method

configureView() protected method

Configure common view properties
protected configureView ( View $view )
$view Piwik\View
    protected function configureView($view)
    {
        $this->setBasicVariablesView($view);
        $view->linkTitle = Piwik::getRandomTitle();
        // crsf token: don't trust the submitted value; generate/fetch it from session data
        $view->nonce = Nonce::getNonce('Login.login');
    }