otentikasi dan otorisasi

This commit is contained in:
2026-02-22 16:46:44 +07:00
parent b359110c37
commit 5891128b8e
9 changed files with 74 additions and 29 deletions
+6 -3
View File
@@ -464,8 +464,8 @@
</div>
</div>
<div class="flex-grow-1">
<h6 class="mb-0">John Doe</h6>
<small class="text-body-secondary">Admin</small>
<h6 class="mb-0">{{ Auth::user()->name }}</h6>
<small class="text-body-secondary">{{ Auth::user()->email }}</small>
</div>
</div>
</a>
@@ -513,11 +513,14 @@
</li>
<li>
<div class="d-grid px-2 pt-2 pb-1">
<a class="btn btn-sm btn-danger d-flex" href="auth-login-cover.html" target="_blank">
<a class="btn btn-sm btn-danger d-flex" id="logout" href="#" target="_blank">
<small class="align-middle">Logout</small>
<i class="icon-base ti tabler-logout ms-2 icon-14px"></i>
</a>
</div>
<form id="logout-form" action="{{ route('logout') }}" method="POST" class="d-none">
@csrf
</form>
</li>
</ul>
</li>