mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
test: set secret
This commit is contained in:
parent
f248869b35
commit
012da4f1d2
2
auth.ts
2
auth.ts
@ -4,7 +4,7 @@ import Credentials from "next-auth/providers/credentials";
|
|||||||
import getEnv from "./lib/env-entry";
|
import getEnv from "./lib/env-entry";
|
||||||
|
|
||||||
export const { handlers, signIn, signOut, auth } = NextAuth({
|
export const { handlers, signIn, signOut, auth } = NextAuth({
|
||||||
secret: "this_is_nezha_dash_web_secret",
|
secret: "H7Fijn9veJRkbizIwUQEpBAzzhRwkv7/ZoB5sGF5cwm5",
|
||||||
providers: [
|
providers: [
|
||||||
Credentials({
|
Credentials({
|
||||||
credentials: {
|
credentials: {
|
||||||
|
Loading…
Reference in New Issue
Block a user