We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ad67b0 commit 18fe2d2Copy full SHA for 18fe2d2
1 file changed
app/Http/Kernel.php
@@ -44,20 +44,16 @@ class Kernel extends HttpKernel {
44
* @var array
45
*/
46
protected $middlewareAliases = [
47
- // Came with Laravel
48
- 'auth' => Authenticate::class,
+ // Middleware from laravel upstream
49
'verified' => EnsureEmailIsVerified::class,
50
+ // Custom Middleware
51
'guest' => RedirectIfAuthenticated::class,
52
'limit_wiki_access' => LimitWikiAccess::class,
53
-
54
- // https://laravel-news.com/signed-routes
55
- // 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class,
56
57
'backend.auth' => BackendAuth::class,
58
'throttle.signup' => ThrottleSignup::class,
59
'throttle' => Throttle::class,
60
- // 'auth' => App\Http\Middleware\Authenticate::class,
+ 'auth' => Authenticate::class,
61
];
62
63
/**
0 commit comments