chore: add account provider

This commit is contained in:
moonrailgun 2024-09-20 00:01:47 +08:00
parent 63484d0db5
commit 84e4722f2f

View File

@ -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',