title: Laravel user authentication after confirmation mail
body: <p>In Laravel, after registration, the user receives an email with a link with a confirmation code.
  When the user clicks the link in the email, I want to login the user.</p>
  
  <p>Problem: The attempt-method needs a password and I only have the hashed password I stored while registering. You can't login with an hashed password with the code below.</p>
  
  <pre><code>        $credentials = [
              'username' =&gt; Input::get('username'),
              'password' =&gt; Input::get('password'),
              'confirmed' =&gt; 1
          ];
  
          Auth::attempt($credentials);
  </code></pre>
  
  <p>What is the best way to confirm and immediately login?</p>