| 6 | use Illuminate\Foundation\Auth\AuthenticatesUsers; |
| 7 | |
| 8 | class LoginController extends Controller |
| 9 | { |
| 10 | /* |
| 11 | |-------------------------------------------------------------------------- |
| 12 | | Login Controller |
| 13 | |-------------------------------------------------------------------------- |
| 14 | | |
| 15 | | This controller handles authenticating users for the application and |
| 16 | | redirecting them to your home screen. The controller uses a trait |
| 17 | | to conveniently provide its functionality to your applications. |
| 18 | | |
| 19 | */ |
| 20 | |
| 21 | use AuthenticatesUsers; |
| 22 | |
| 23 | /** |
| 24 | * Where to redirect users after login. |
| 25 | * |
| 26 | * @var string |
| 27 | */ |
| 28 | protected $redirectTo = '/home'; |
| 29 | |
| 30 | /** |
| 31 | * Create a new controller instance. |
| 32 | * |
| 33 | * @return void |
| 34 | */ |
| 35 | public function __construct() |
| 36 | { |
| 37 | $this->middleware('guest')->except('logout'); |
| 38 | } |
| 39 | } |
nothing calls this directly
no outgoing calls
no test coverage detected