title: Laravel Authenticate middleware flash message
body: <p>In my auth middleware I have the following code:</p>
  
  <pre><code>        if (! Auth::user()-&gt;enabled) {
              Auth::logout();
              // $request-&gt;session()-&gt;flash('Test', 'Test');
              // return redirect()-&gt;route('site::home');
  
              return redirect()-&gt;route('site::home')-&gt;withFlash('Test');
          }
  </code></pre>
  
  <p>I'm trying to redirect the user back to the login page with a flash message but whenever I look into the session() there's no flash message.</p>
  
  <p>What am I doing wrong? it feels like i've tried every variation of a flash message and none of it seems to work</p>