chore: add account provider
This commit is contained in:
parent
63484d0db5
commit
84e4722f2f
@ -15,6 +15,7 @@ export const env = {
|
|||||||
port: Number(process.env.PORT || 12345),
|
port: Number(process.env.PORT || 12345),
|
||||||
auth: {
|
auth: {
|
||||||
provider: compact([
|
provider: compact([
|
||||||
|
!checkEnvTrusty(process.env.DISABLE_ACCOUNT) && 'account',
|
||||||
!!process.env.EMAIL_SERVER && 'email',
|
!!process.env.EMAIL_SERVER && 'email',
|
||||||
!!process.env.AUTH_GITHUB_ID && 'github',
|
!!process.env.AUTH_GITHUB_ID && 'github',
|
||||||
!!process.env.AUTH_GOOGLE_ID && 'google',
|
!!process.env.AUTH_GOOGLE_ID && 'google',
|
||||||
|
Loading…
Reference in New Issue
Block a user