public function getPostLogin()
    {
        if ($this->userService->checkLoggedin()) {
            $this->response->redirect("");
        }

        $title      = "Administration - Login";
        $form       = new UserLoginForm($this->di);

        $form->check();

        $data = [
            "form" => $form->getHTML(),
        ];

        $this->view->add("user/login", $data);

        $this->pageRender->renderPage(["title" => $title]);
    }
public function getPostLogin()
    {
        if ($this->userService->checkLoggedin()) {
            $this->response->redirect("");
        }

        $title      = "Administration - Login";
        $form       = new UserLoginForm($this->di);

        $form->check();

        $data = [
            "form" => $form->getHTML(),
        ];

        $this->view->add("user/login", $data);

        $this->pageRender->renderPage(["title" => $title]);
    }
public function getPostLogin ( ) { if ( $ this -> userService -> checkLoggedin ( ) ) { $ this -> response -> redirect ( "" ) ; } $ title = "Administration - Login" ; $ form = new UserLoginForm ( $ this -> di ) ; $ form -> check ( ) ; $ data = [ "form" => $ form -> getHTML ( ) , ] ; $ this -> view -> add ( "user/login" , $ data ) ; $ this -> pageRender -> renderPage ( [ "title" => $ title ] ) ; }
Login-page

@throws Exception

@return void
Login - page