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

Sign in to your account

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