--- import BaseLayout from "@/layouts/BaseLayout.astro"; import Logo from "@/components/ui/Logo.astro"; import { getCsrfToken } from "@/middleware/csrf"; if (Astro.locals.user) { return Astro.redirect("/dashboard"); } const { token, cookie } = getCsrfToken(Astro.request); Astro.response.headers.append("Set-Cookie", cookie); --- OpenCodeHub Create your account Username Only letters, numbers, and hyphens. Email address Password Create account By creating an account, you agree to our{" "} Terms and{" "} Privacy Policy Already have an account?{" "} Sign in
Only letters, numbers, and hyphens.
By creating an account, you agree to our{" "} Terms and{" "} Privacy Policy