title: How to create a password reset method in Laravel when using the Database User Provider
body: <p>I've been searching the internet and have yet to find a solution to the following problem...</p>
  
  <p>We currently have a website developed using Laravel which the user table is a remote Microsoft SQL database. The driver in <code>config/auth.php</code> has been set to "database". All is working fine except for the password reset functionality, which we get the following error:</p>
  
  <pre><code>UnexpectedValueException in PasswordBroker.php line 238: User must implement CanResetPassword interface.
  </code></pre>
  
  <p>From my limited understanding of Laravel (this is my first experiance with Laravel), the Eloquent driver has support for the CanResetPassword functionality, however, this has not been implemented in the Database User Provider by Laravel, hence the error.</p>
  
  <p>So my question is thus, has anyone had a configuration where they have the driver to “Database” and implemented a reset password functionality? All the examples I have seen to date relate to using the Eloquent model, which from my understanding of Laravel is not an option since during the initial development we had to change the driver from Eloquent to database to get the remote Microsoft SQL server working in the first place. Moving the Microsoft SQL database to a local database is not an option I’m afraid.</p>
  
  <p>Alternatively, if anyone has implemented another method of a user resetting their password using an email address I would be open to suggestions.</p>