public function login(Request $request)
    {
        if ($request->session()->has('eyewitness:auth') || Eye::check($request)) {
            return redirect(route('eyewitness.dashboard').'#overview');
        }

        if (config('eyewitness.login_disabled', false)) {
            return redirect('/');
        }

        return view('eyewitness::login');
    }
public function login(Request $request)
    {
        if ($request->session()->has('eyewitness:auth') || Eye::check($request)) {
            return redirect(route('eyewitness.dashboard').'#overview');
        }

        if (config('eyewitness.login_disabled', false)) {
            return redirect('/');
        }

        return view('eyewitness::login');
    }
public function login ( Request $ request ) { if ( $ request -> session ( ) -> has ( 'eyewitness:auth' ) || Eye :: check ( $ request ) ) { return redirect ( route ( 'eyewitness.dashboard' ) . '#overview' ) ; } if ( config ( 'eyewitness.login_disabled' , false ) ) { return redirect ( '/' ) ; } return view ( 'eyewitness::login' ) ; }
Get login page.

@return \Illuminate\Http\Response
Get login page .