src/Controller/AuthController.php line 24

  1. <?php
  2. namespace App\Controller;
  3. use App\Controller\Bootstrap\DefaultLayoutController;
  4. use Symfony\Component\HttpFoundation\Response;
  5. class AuthController extends DefaultLayoutController
  6. {
  7.     public function signin(): Response
  8.     {
  9.         $this->theme->addJavascriptFile('js/custom/authentication/sign-in/general.js');
  10.         return $this->render('pages/auth/signin.html.twig');
  11.     }
  12.     public function signup(): Response
  13.     {
  14.         $this->theme->addJavascriptFile('js/custom/authentication/sign-up/general.js');
  15.         return $this->render('pages/auth/signup.html.twig');
  16.     }
  17.     public function reset_password(): Response
  18.     {
  19.         $this->theme->addJavascriptFile('js/custom/authentication/reset-password/reset-password.js');
  20.         return $this->render('pages/auth/reset-password.html.twig');
  21.     }
  22.     public function new_password(): Response
  23.     {
  24.         $this->theme->addJavascriptFile('js/custom/authentication/reset-password/new-password.js');
  25.         return $this->render('pages/auth/new-password.html.twig');
  26.     }
  27. }