import { redirect } from "next/navigation"; import { currentUser, safeNext } from "@/lib/auth"; import { Brand } from "@/components/Brand"; import { Flash } from "@/components/common"; import { EgovSign } from "@/components/EgovSign"; import { Footer } from "@/components/Footer"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; export const dynamic = "force-dynamic"; export default async function Login({ searchParams }: { searchParams: Promise<{ error?: string; next?: string; login?: string }> }) { const { error, next, login } = await searchParams; if (await currentUser()) redirect(safeNext(next)); return (

Софтвейр-фабрика: проекты в Gitea, стори по OpenSpec, агенты Claude Code и Codex.

или по логину Пеппы
); }