feat(admin): Server Action'larla kullanıcı yönetimi ve gerçek oturumlu sayfalar

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-05 02:02:00 +03:00
parent 5191a5cce1
commit 2035f73e7d
18 changed files with 437 additions and 270 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import { redirect } from "next/navigation";
/** Uygulama her zaman login ile açılır. FAZ 3: oturum varsa /dashboard'a yönlenecek. */
/** Oturum yoksa proxy zaten /login'e yönlendirir; varsa dashboard. */
export default function Home() {
redirect("/login");
redirect("/dashboard");
}