mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-28 04:01:10 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			41 lines
		
	
	
		
			1020 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			1020 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| namespace Crater\Http\Controllers\V1\Admin\Auth;
 | |
| 
 | |
| use Crater\Http\Controllers\Controller;
 | |
| use Crater\Providers\RouteServiceProvider;
 | |
| use Illuminate\Foundation\Auth\AuthenticatesUsers;
 | |
| 
 | |
| class LoginController extends Controller
 | |
| {
 | |
|     /*
 | |
|     |--------------------------------------------------------------------------
 | |
|     | Login Controller
 | |
|     |--------------------------------------------------------------------------
 | |
|     |
 | |
|     | This controller handles authenticating users for the application and
 | |
|     | redirecting them to your home screen. The controller uses a trait
 | |
|     | to conveniently provide its functionality to your applications.
 | |
|     |
 | |
|     */
 | |
| 
 | |
|     use AuthenticatesUsers;
 | |
| 
 | |
|     /**
 | |
|      * Where to redirect users after login.
 | |
|      *
 | |
|      * @var string
 | |
|      */
 | |
|     protected $redirectTo = RouteServiceProvider::HOME;
 | |
| 
 | |
|     /**
 | |
|      * Create a new controller instance.
 | |
|      *
 | |
|      * @return void
 | |
|      */
 | |
|     public function __construct()
 | |
|     {
 | |
|         $this->middleware('guest')->except('logout');
 | |
|     }
 | |
| }
 |