title: setting up login throttle using username and not ip address
body: <p>Hi i have been following this article on how to create a login throttle in laravell -&gt; <a href="https://webomnizz.com/integrate-throttle-in-custom-login-using-laravel/" rel="nofollow noreferrer">https://webomnizz.com/integrate-throttle-in-custom-login-using-laravel/</a></p>
  <p>this all works fine the only using:</p>
  <pre><code>    $this-&gt;incrementLoginAttempts($request);
  </code></pre>
  <p>The problem i am having is that this is IP based. I have a front end and a backend so when a user makes 3 failed attempts to login, it throttles the entire frontend at that IP.</p>
  <p>is there a way i can increment the login attempts based on the username and not on the ip specifically. or do i have to handle this using separate tables with increments?</p>