Skip to content

Commit

Permalink
Update page.mdx (#5626)
Browse files Browse the repository at this point in the history
  • Loading branch information
digiorgiu authored Dec 8, 2024
1 parent 8234dba commit 5fd5186
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/portal/src/app/connect/auth/frameworks/next/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,10 @@ import { privateKeyToAccount } from "thirdweb/wallets";
import { client } from "@/lib/client";
import { cookies } from "next/headers";

const privateKey = process.env.THIRDWEB_ADMIN_PRIVATE_KEY || "";
const privateKey = process.env.AUTH_PRIVATE_KEY || "";

if (!privateKey) {
throw new Error("Missing THIRDWEB_ADMIN_PRIVATE_KEY in .env file.");
throw new Error("Missing AUTH_PRIVATE_KEY in .env file.");
}

const thirdwebAuth = createAuth({
Expand Down

0 comments on commit 5fd5186

Please sign in to comment.