title: Laravel: How to load session variables for 'remembered' user session (LoginController is Bypassed)
body: <p>I have built an application in Laravel 7.0 and when a user logs in, I drop some application wide variables in to session variables using by adding this to the LoginController:</p>
  <pre><code>protected function authenticated ($user)
  {
      Session::put('notifications', auth()-&gt;user()-&gt;unreadNotifications);
  }
  </code></pre>
  <p>If have verified the issue by logging out when this occurs and logging back in solves the problem (because the session variables are created as expected).</p>
  <p>Unfortunately it seems that when a user returns to the site and it 'remembers' their previous session, the LoginController is bypassed and the session variables aren't loaded.  Does anyone know if this type of login fires an event I can regenerate the session variables in?  Or a more elegant way to handle this?</p>
  <p>Thanks!</p>