mirror of
				https://github.com/BookStackApp/BookStack.git
				synced 2025-11-04 13:31:45 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			374 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			374 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace BookStack\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 = [
 | 
						|
        'password',
 | 
						|
        'password_confirmation',
 | 
						|
        'password-confirm',
 | 
						|
    ];
 | 
						|
}
 |