title: Logout in Laravel without JS
body: <p>the current version of laravel uses JS for logout when I'm trying to use app over a JS disabled browser its throwing some error. I know not much people disable JS but i want my project to be fully based on PHP instead.</p>
  
  <p>Current code of my app.layout uses:</p>
  
  <pre><code>&lt;li class="nav-item"&gt;
             &lt;a class="nav-link" href="{{ route('logout') }}"
               onclick="event.preventDefault();
               document.getElementById('logout-form').submit();"&gt;
                                      {{ __('Logout') }}
             &lt;/a&gt;
  &lt;form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;"&gt;
  @csrf
        &lt;/form&gt;
            &lt;/li&gt;
  </code></pre>
  
  <p>I have tried the "Auth:Logout" method as href so when user click on logout it'll use Auth functions and logout but when I'm doing that app is breaking and logging out user right after logging in!
  i can only see one page after login and then it log out by self.
  Note:My version of laravel is 6.x and everything is updated.</p>
  
  <p>Thanks</p>