first commit
This commit is contained in:
		
							
								
								
									
										18
									
								
								app/Http/Middleware/TrimStrings.php
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										18
									
								
								app/Http/Middleware/TrimStrings.php
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
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 = [
 | 
			
		||||
        'password',
 | 
			
		||||
        'password_confirmation',
 | 
			
		||||
    ];
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user