8 months ago

Protecting Register Route

Posted 8 months ago by jaurenigel

How can I protect register route and make it accessible only for super admin for instance? I have tried to use the auth middleware but anyone registered can now access the route.

Please sign in or create an account to participate in this conversation.