title: Laravel - Checking passwords before manually logging in
body: <p>I'm getting problem with manually logging in users using <code>Auth::loginUsingId</code>
  . Before I do that I need to check if password matches and there is my problem. Password comparision is always returning false;</p>
  
  <p>That's how I save password to DB:</p>
  
  <pre><code>    $user = User::create([
          'password' =&gt; Hash::make(Input::get('password')),
      ]);
  </code></pre>
  
  <p>And that's how I try to compare these two passwords</p>
  
  <pre><code>$u = User::where('username', $username)-&gt;first();    
  $password = Hash::make(Input::get('password'));
  var_dump($u-&gt;password == $password);
  </code></pre>
  
  <p>And this is returning false, and I don't know where the problem is.</p>
  
  <p><strong>EDIT:</strong>
  In DB field varchar is 70 char long, hash is 60 characters long</p>
  
  <p>Ok I've noticed: that every time Hash::make gives another string from my password. How it's even possible? I mean how then <code>Auth::attempt</code> works?</p>