(add basic logout test and endpoint)

This commit is contained in:
Adam Wathan
2017-05-18 11:48:22 -04:00
parent a852353292
commit 6b9b61fba2
4 changed files with 21 additions and 3 deletions

View File

@@ -9,7 +9,7 @@
<img src="/img/logo.svg" alt="TicketBeast" style="height: 2.5rem;">
</div>
<div>
<form class="inline-block" action="#" method="POST">
<form class="inline-block" action="{{ route('auth.logout') }}" method="POST">
{{ csrf_field() }}
<button type="submit" class="link link-light">Log out</button>
</form>