felloz
1 month ago
372
15
Laravel

Double click on navbar option = logout

Posted 1 month ago by felloz

For some reason that I don't understand, when I double click on an option on the navbar that calls a route, laravel log me out from the system.

Isn't something that always happen but happens a lot. I can use href="{{ url('/home') }}" or simple href="/home" and happens the same, but if clicked only one time everything works good.

Also it doesn't matter the route I just copied /home for get one, but it happens to all.

 <li class="nav-item active">
    <a class="nav-link" href="{{ url('/home') }}">
    <i class="fas fa-fw fa-tachometer-alt"></i>
    <span>Dashboard</span></a>
</li>

Please sign in or create an account to participate in this conversation.