Build [v1.4.0] - Audit Dashboard & LDAP Restoration
This commit is contained in:
@@ -68,10 +68,12 @@ export default function BottomNav({
|
||||
{/* Logout */}
|
||||
<button
|
||||
onClick={() => {
|
||||
import('@/lib/auth').then(m => m.clearAuth());
|
||||
window.location.href = '/login';
|
||||
if (window.confirm("Are you sure you want to logout?")) {
|
||||
import('@/lib/auth').then(m => m.clearAuth());
|
||||
window.location.href = '/login';
|
||||
}
|
||||
}}
|
||||
className="flex flex-col items-center gap-1 hover:text-rose-500 transition-colors"
|
||||
className="flex flex-col items-center gap-1 text-rose-500 hover:text-rose-400 transition-colors"
|
||||
>
|
||||
<LogOut size={20} />
|
||||
<span className="text-xs font-bold transition-all">Logout</span>
|
||||
|
||||
Reference in New Issue
Block a user