ladogton2010 commited on
Commit
87579a1
·
1 Parent(s): 0687ecd

chech user auth

Browse files
app/resources/views/layouts/admin.blade.php CHANGED
@@ -81,7 +81,9 @@ scratch. This page gets rid of all links and provides the needed markup only.
81
  <img src="{{asset('dist/img/user.png')}}" class="img-circle elevation-2" alt="User Image">
82
  </div>
83
  <div class="info">
 
84
  <a href="#" class="d-block">{{Auth::user()->nombre_usuario}}</a>
 
85
  </div>
86
  </div>
87
 
 
81
  <img src="{{asset('dist/img/user.png')}}" class="img-circle elevation-2" alt="User Image">
82
  </div>
83
  <div class="info">
84
+ @auth
85
  <a href="#" class="d-block">{{Auth::user()->nombre_usuario}}</a>
86
+ @endauth
87
  </div>
88
  </div>
89