/** * Handle a login request to the application. * * @return array */ public function postLogin() { $this->registrar->login(); return ['message' => 'Login successful']; }