Skip to content

Laravel no logout option from menu after successfull login

Hope anyone else had the same issue and was able to solve this problem. I installed a fresh Laravel project and used php artisan make:auth to get the basic auth working. Strange thing is that after a successful login there is no logout link in the navbar. It should be available under the username (which has a pull down option) but when I click on my username nothing happens.

Anyone has a solution? Help is much appreciated.

Advertisement

Answer

Problem solved:

Seems like Laravel is not loading the right JQuery files to make it work. Be sure to load the right JQuery libs like these:

<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
User contributions licensed under: CC BY-SA
9 People found this is helpful