Disable sign up while bootstraping


Is there a way to disable user sign-up while boostraping the application. By code, not in the Strapi admin.


By sign-ups do you mean requests to /api/auth/local/register? Shouldn’t the server not respond to any requests while bootstrapping is in progress? Are you seeing otherwise?

I want to disable this option during the initialization of the application: