Update auth-test.tsx
This commit is contained in:
parent
9e36c24800
commit
519ba182d6
1 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,11 @@ export default function Home({ session }: any) {
|
|||
|
||||
export async function getServerSideProps(context: GetServerSidePropsContext) {
|
||||
const session = await getSession(context)
|
||||
.then((c) => {
|
||||
console.log(c)
|
||||
return c
|
||||
})
|
||||
.catch((e) => console.log(e))
|
||||
|
||||
return {
|
||||
props: {
|
||||
|
|
Loading…
Reference in a new issue