title: Laravel Authentication - Auth::check returns FALSE
body: <p>I'm fairly new to <code>Laravel</code> and I'm currently working on a manual authentication for my project.<br>
  I have tried <code>Auth::attempt</code> to validate the credentials that have been input, and I have seen that it works since I am being redirected to the page I wanted when it is authenticated. </p>
  
  <p>However, when I try to do <code>Auth::check</code> in the view I have been redirected to, it seems that it returns FALSE and does not read the authenticated user. This makes the certain portion of that view to not be visible. Any insights on this one? Thanks a lot!</p>
  
  <p>Controller</p>
  
  <pre><code>namespace App\Http\Controllers;
  use DB;
  use Session;
  use Illuminate\Http\Request;
  use Auth;    
  class LoginController extends Controller
  {   //    
      public function index()
      {
          return view('view_login');
      }    
  
      public function verify(Request $request)
      {
          $credentials = $request-&gt;only('username', 'password');    
           if (Auth::attempt($credentials)) {
              // Authentication passed...
              return redirect('dashboard');
          }
          else
          {
              return redirect('/');
          }
      }
  </code></pre>
  
  <p>View</p>
  
  <pre><code>@if (Auth::check())
       &lt;li&gt;&lt;a href="dashboard.html"&gt; Hello {{ Auth::user()-&gt;username }}  &lt;/a&gt;&lt;/li&gt;
  @endif 
  </code></pre>
  
  <p>Current Result:
  <a href="https://i.stack.imgur.com/9aEPh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9aEPh.png" alt="enter image description here"></a></p>
  
  <p>Expected Result:
  <a href="https://i.stack.imgur.com/1L4JT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1L4JT.png" alt="enter image description here"></a></p>
  
  <p>Update:
  I've tried to put <code>dd(auth()-&gt;user());</code> after authentication, and I have seen the attributes of the authenticated user. However, after putting this on the Dashboard Controller, it returns NULL. Can someone please help me on this?</p>