27 lines
531 B
PHP
27 lines
531 B
PHP
<?php
|
|
|
|
namespace App\Http\Middleware;
|
|
|
|
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
|
|
|
|
class VerifyCsrfToken extends Middleware
|
|
{
|
|
/**
|
|
* The URIs that should be excluded from CSRF verification.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $except = [
|
|
'set_bahasa',
|
|
'set_session_theme',
|
|
// 'getlogout',
|
|
// 'login'
|
|
];
|
|
|
|
protected $addHttpCookie = false;
|
|
protected function addCookieToResponse($request, $response)
|
|
{
|
|
return $response;
|
|
}
|
|
}
|