mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 03:29:03 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			642 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			642 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
/**
 | 
						|
 * Invoice Ninja (https://invoiceninja.com).
 | 
						|
 *
 | 
						|
 * @link https://github.com/invoiceninja/invoiceninja source repository
 | 
						|
 *
 | 
						|
 * @copyright Copyright (c) 2024. Invoice Ninja LLC (https://invoiceninja.com)
 | 
						|
 *
 | 
						|
 * @license https://www.elastic.co/licensing/elastic-license
 | 
						|
 */
 | 
						|
 | 
						|
namespace App\Http\Middleware;
 | 
						|
 | 
						|
use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
 | 
						|
 | 
						|
class TrimStrings extends Middleware
 | 
						|
{
 | 
						|
    /**
 | 
						|
     * The names of the attributes that should not be trimmed.
 | 
						|
     *
 | 
						|
     * @var array
 | 
						|
     */
 | 
						|
    protected $except = [
 | 
						|
        'current_password',
 | 
						|
        'password',
 | 
						|
        'password_confirmation',
 | 
						|
    ];
 | 
						|
}
 |