class PreventRegistrationIfUsersExist (View source)

Middleware that prevents registration if users already exist.

Ensures that registration is only available during the initial setup of the system.

Methods

Response
handle(Request $request, Closure $next)

Handle an incoming request.

Details

Response handle(Request $request, Closure $next)

Handle an incoming request.

Parameters

Request $request
Closure $next

Return Value

Response