---
import UserLayout from "../../layouts/UserLayout.astro";
import { validateAccessTokenServer } from "src/server/lib/validateAccessToken";

const accessTokenValid = await validateAccessTokenServer(Astro);

if (!accessTokenValid) {
	return Astro.redirect("/auth/login")
}
---

<UserLayout title="Dashboard">
</UserLayout>