Skip to content

Commit

Permalink
Menu contraseñas logout
Browse files Browse the repository at this point in the history
  • Loading branch information
elsoftpy committed Jan 14, 2020
1 parent 22e8edd commit 5414972
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions resources/views/layout.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@
</ul>
<ul id="dropdown2" class="dropdown-content">
<li><a href="{{route('reset.form')}}">Cambiar Contraseña</a></li>
@if(Auth::user()->is_admin)
<li><a href="{{route('generate')}}">Generar contraseñas</a></li>
@if(Auth::check())
@if(Auth::user()->is_admin)
<li><a href="{{route('generate')}}">Generar contraseñas</a></li>
@endif
@endif

</ul>
Expand Down

0 comments on commit 5414972

Please sign in to comment.