src/stubs/LoginController.php
protected function attempLoginUsingUsernameAsAnEmail(Request $request)
    {
        return $this->guard()->attempt(
            ['email' => $request->input('username'), 'password' => $request->input('password')],
            $request->has('remember')
        );
    }
protected function attempLoginUsingUsernameAsAnEmail(Request $request)
    {
        return $this->guard()->attempt(
            ['email' => $request->input('username'), 'password' => $request->input('password')],
            $request->has('remember')
        );
    }
protected function attempLoginUsingUsernameAsAnEmail ( Request $ request ) { return $ this -> guard ( ) -> attempt ( [ 'email' => $ request -> input ( 'username' ) , 'password' => $ request -> input ( 'password' ) ] , $ request -> has ( 'remember' ) ) ; }
Attempt to log the user into application using username as an email.

@param \Illuminate\Http\Request $request
@return bool
Attempt to log the user into application using username as an email .