Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <li>
- <a href="{{ url('/logout') }}"
- onclick="event.preventDefault();
- document.getElementById('logout-form').submit();">
- Logout
- </a>
- <form id="logout-form" action="{{ url('/logout') }}" method="POST" style="display: none;">
- {{ csrf_field() }}
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement