import Head from "next/head"; import Link from "next/link"; import { getCsrfToken } from "next-auth/client"; export default function Login({ csrfToken }) { return (
Login

Sign in to your account

); } Login.getInitialProps = async ({ req }) => { return { csrfToken: await getCsrfToken({ req }), }; };