I think it would best from a users experience point of view to just hide the existing registration links/forms if Team::count() > 0. You don't want them to go through the hassle of filling out the registration form just to say they can't register.
Sep 28, 2018
3
Level 2
Limit an instance of Laravel Spark to a single team
Hello, I want to limit a deployment of Laravel Spark to a single team. That is - once a team has been registered on the website do not allow any more teams to be created. Is there a middleware I can create to stop more teams from being created?
Please or to participate in this conversation.