laravel disable register after login code example Example: disable register laravel Auth::routes(['register' => false]);