diff --git a/app/Models/User.php b/app/Models/User.php index 9e9c9a9..f217d56 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -17,6 +17,8 @@ class User extends Authenticatable use Notifiable; use TwoFactorAuthenticatable; + public $incrementing = false; + /** * The attributes that are mass assignable. * diff --git a/resources/views/layouts/master.blade.php b/resources/views/layouts/master.blade.php index c5c779f..b6769a3 100644 --- a/resources/views/layouts/master.blade.php +++ b/resources/views/layouts/master.blade.php @@ -39,7 +39,7 @@ <div class="media"> <img src="{{ url('theme/assets/img/90x90.jpg') }}" class="img-fluid" alt="admin-profile"> <div class="media-body align-self-center"> - <h6><span>Hi,</span> Alan</h6> + <h6><span>Hi,</span> {{ Auth::user()->name }}</h6> </div> </div> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9"></polyline></svg>