src/Controllers/LoginController.php
public function login(Request $request)
    {
        $this->validate($request, [
            'email'    => 'required|max:255',
            'password' => 'required|max:255',
        ]);

        if (Auth::attempt(['email' => $request->email, 'password' => $request->password], $request->remember ? true : false)) {
            return redirect()->intended(route('laralum::index'));
        }

        return redirect()->route('laralum::login')->with('error', trans('auth.failed'))->withInput();
    }
public function login(Request $request)
    {
        $this->validate($request, [
            'email'    => 'required|max:255',
            'password' => 'required|max:255',
        ]);

        if (Auth::attempt(['email' => $request->email, 'password' => $request->password], $request->remember ? true : false)) {
            return redirect()->intended(route('laralum::index'));
        }

        return redirect()->route('laralum::login')->with('error', trans('auth.failed'))->withInput();
    }
public function login ( Request $ request ) { $ this -> validate ( $ request , [ 'email' => 'required|max:255' , 'password' => 'required|max:255' , ] ) ; if ( Auth :: attempt ( [ 'email' => $ request -> email , 'password' => $ request -> password ] , $ request -> remember ? true : false ) ) { return redirect ( ) -> intended ( route ( 'laralum::index' ) ) ; } return redirect ( ) -> route ( 'laralum::login' ) -> with ( 'error' , trans ( 'auth.failed' ) ) -> withInput ( ) ; }
Manual user login.

@param $request
Manual user login .