protected function assertLimits()
    {
        if ($this->storage->getUsersCount() >= $this->config["maxUsers"]) {
            $this->session->addFlash("error", "New registrations are currently disabled.");
            $this->picoAuth->redirectToPage("register");
        }
    }
protected function assertLimits()
    {
        if ($this->storage->getUsersCount() >= $this->config["maxUsers"]) {
            $this->session->addFlash("error", "New registrations are currently disabled.");
            $this->picoAuth->redirectToPage("register");
        }
    }
protected function assertLimits ( ) { if ( $ this -> storage -> getUsersCount ( ) >= $ this -> config [ "maxUsers" ] ) { $ this -> session -> addFlash ( "error" , "New registrations are currently disabled." ) ; $ this -> picoAuth -> redirectToPage ( "register" ) ; } }
Aborts the registration if the limit of an amount of users is reached
Aborts the registration if the limit of an amount of users is reached