mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-11-04 06:23:17 -05:00 
			
		
		
		
	* Create PHP CS Fixer config and add to CI workflow * Run php cs fixer on project * Add newline at end of file * Update to use PHP CS Fixer v3 * Run v3 config on project * Run seperate config in CI
		
			
				
	
	
		
			25 lines
		
	
	
		
			472 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			472 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace Crater\Http\Middleware;
 | 
						|
 | 
						|
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
 | 
						|
 | 
						|
class VerifyCsrfToken extends Middleware
 | 
						|
{
 | 
						|
    /**
 | 
						|
     * Indicates whether the XSRF-TOKEN cookie should be set on the response.
 | 
						|
     *
 | 
						|
     * @var bool
 | 
						|
     */
 | 
						|
    protected $addHttpCookie = true;
 | 
						|
 | 
						|
    /**
 | 
						|
     * The URIs that should be excluded from CSRF verification.
 | 
						|
     *
 | 
						|
     * @var array
 | 
						|
     */
 | 
						|
    protected $except = [
 | 
						|
        'login',
 | 
						|
    ];
 | 
						|
}
 |