From 84e4722f2fc8026de25fa33d23e17db61a6d4437 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Fri, 20 Sep 2024 00:01:47 +0800 Subject: [PATCH] chore: add account provider --- src/server/utils/env.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/utils/env.ts b/src/server/utils/env.ts index e5fc08f..2544cb3 100644 --- a/src/server/utils/env.ts +++ b/src/server/utils/env.ts @@ -15,6 +15,7 @@ export const env = { port: Number(process.env.PORT || 12345), auth: { provider: compact([ + !checkEnvTrusty(process.env.DISABLE_ACCOUNT) && 'account', !!process.env.EMAIL_SERVER && 'email', !!process.env.AUTH_GITHUB_ID && 'github', !!process.env.AUTH_GOOGLE_ID && 'google',