use getSession() from @lib/auth everywhere (#563)
This commit is contained in:
1 parent
1cdb449ecc
commit
2f1ede9bcd
27 files changed
+37
-27
No files matched your search
@@ -1,8 +1,9 @@
|
||||
import { HeadSeo } from "@components/seo/head-seo";
|
||||
import Link from "next/link";
|
||||
import React from "react";
|
||||
import { getCsrfToken, getSession } from "next-auth/client";
|
||||
import { getCsrfToken } from "next-auth/client";
|
||||
import debounce from "lodash.debounce";
|
||||
import { getSession } from "@lib/auth";
|
||||
|
||||
export default function ForgotPassword({ csrfToken }) {
|
||||
const [loading, setLoading] = React.useState(false);
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { HeadSeo } from "@components/seo/head-seo";
|
||||
import Link from "next/link";
|
||||
import { getCsrfToken, getSession } from "next-auth/client";
|
||||
import { getCsrfToken } from "next-auth/client";
|
||||
import { getSession } from "@lib/auth";
|
||||
|
||||
export default function Login({ csrfToken }) {
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user