original_string: public function postLogin(LoginRequest $request)
      {
          $inputs = $request->except('_token','rememberme');
  
          $rememberme = $request->get('rememberme');
  
          $attemp = Auth::attempt($inputs, !!$rememberme);
  
          if (!$attemp) {
              $request->session()->flash('error', trans('auth.failed'));
              return Redirect::back();
          }
  
          return Redirect::intended('/');
  
      }
code: public function postLogin(LoginRequest $request)
      {
          $inputs = $request->except('_token','rememberme');
  
          $rememberme = $request->get('rememberme');
  
          $attemp = Auth::attempt($inputs, !!$rememberme);
  
          if (!$attemp) {
              $request->session()->flash('error', trans('auth.failed'));
              return Redirect::back();
          }
  
          return Redirect::intended('/');
  
      }
code_tokens: public function postLogin ( LoginRequest $ request ) { $ inputs = $ request -> except ( '_token' , 'rememberme' ) ; $ rememberme = $ request -> get ( 'rememberme' ) ; $ attemp = Auth :: attempt ( $ inputs , ! ! $ rememberme ) ; if ( ! $ attemp ) { $ request -> session ( ) -> flash ( 'error' , trans ( 'auth.failed' ) ) ; return Redirect :: back ( ) ; } return Redirect :: intended ( '/' ) ; }
docstring: try to login the user
  
  @return Response
docstring_tokens: try to login the user