From cd43537fd728c315afa13f449c1193043a788b97 Mon Sep 17 00:00:00 2001 From: Manish Verma Date: Sun, 30 Apr 2017 16:38:05 +0530 Subject: [PATCH] bug-fix-patch Enabled CSRF token verification --- app/Http/Kernel.php | 2 +- .../views/themes/default1/installer/helpdesk/view1.blade.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index 721f0d70b..6d267b2aa 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -32,7 +32,7 @@ class Kernel extends HttpKernel \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, \Illuminate\Session\Middleware\StartSession::class, \Illuminate\View\Middleware\ShareErrorsFromSession::class, - //\App\Http\Middleware\VerifyCsrfToken::class, + \App\Http\Middleware\VerifyCsrfToken::class, \App\Http\Middleware\LanguageMiddleware::class, ], 'api' => [ diff --git a/resources/views/themes/default1/installer/helpdesk/view1.blade.php b/resources/views/themes/default1/installer/helpdesk/view1.blade.php index c1f7a9133..2aae2ad13 100644 --- a/resources/views/themes/default1/installer/helpdesk/view1.blade.php +++ b/resources/views/themes/default1/installer/helpdesk/view1.blade.php @@ -14,6 +14,7 @@ active

Please read this software license agreement carefully before downloading or using the software. By clicking on the "accept" button, opening the package, or downloading the product, you are consenting to be bound by this agreement. If you do not agree to all of the terms of this agreement, stop the installation process and exit.

+ {{ csrf_field() }}