controllers/FrontController.php
public function password(Request $request, Response $response)
    {
        $this->view->render(
            $response,
            'password.tpl',
            [
                'config'      => $this->config,
                'class'       => 'password',
                'title'       => _('Password prompt'),
                'description' => _('You need a password in order to download this video with Alltube Download'),
                'canonical'   => $this->getCanonicalUrl($request),
                'locale'      => $this->localeManager->getLocale(),
            ]
        );

        return $response;
    }
public function password(Request $request, Response $response)
    {
        $this->view->render(
            $response,
            'password.tpl',
            [
                'config'      => $this->config,
                'class'       => 'password',
                'title'       => _('Password prompt'),
                'description' => _('You need a password in order to download this video with Alltube Download'),
                'canonical'   => $this->getCanonicalUrl($request),
                'locale'      => $this->localeManager->getLocale(),
            ]
        );

        return $response;
    }
public function password ( Request $ request , Response $ response ) { $ this -> view -> render ( $ response , 'password.tpl' , [ 'config' => $ this -> config , 'class' => 'password' , 'title' => _ ( 'Password prompt' ) , 'description' => _ ( 'You need a password in order to download this video with Alltube Download' ) , 'canonical' => $ this -> getCanonicalUrl ( $ request ) , 'locale' => $ this -> localeManager -> getLocale ( ) , ] ) ; return $ response ; }
Display a password prompt.

@param Request  $request  PSR-7 request
@param Response $response PSR-7 response

@return Response HTTP response
Display a password prompt .