Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created April 4, 2022 15:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/08a963f0ef587b9c08d1e568b3a99eca to your computer and use it in GitHub Desktop.
Save parzibyte/08a963f0ef587b9c08d1e568b3a99eca to your computer and use it in GitHub Desktop.
<?php
protected $middlewareGroups = [
'web' => [
\App\Http\Middleware\EncryptCookies::class,
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
\Illuminate\Session\Middleware\StartSession::class,
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
\App\Http\Middleware\VerifyCsrfToken::class,
\Illuminate\Routing\Middleware\SubstituteBindings::class,
RevisarSiMentorHizoRegistroSecundario::class, # <--- Aquí
],
'api' => [
// \Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class,
'throttle:api',
\Illuminate\Routing\Middleware\SubstituteBindings::class,
],
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment