Skip to content

Commit 9fc5995

Browse files
committed
Cleanup unnecessary environment variable options in site config
1 parent 2a2d260 commit 9fc5995

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

siteConfig.js

+6-12
Original file line numberDiff line numberDiff line change
@@ -83,20 +83,17 @@ const schema = {
8383
clientId: {
8484
doc: 'The client ID to the GitHub Application used for GitHub OAuth.',
8585
format: 'EncryptedString',
86-
default: null,
87-
env: 'GITHUB_AUTH_CLIENT_ID'
86+
default: null
8887
},
8988
clientSecret: {
9089
doc: 'The client secret to the GitHub Application used for GitHub OAuth.',
9190
format: 'EncryptedString',
92-
default: null,
93-
env: 'GITHUB_AUTH_CLIENT_SECRET'
91+
default: null
9492
},
9593
redirectUri: {
9694
doc: 'The URL to redirect to after authenticating with GitHub.',
9795
format: String,
98-
default: '',
99-
env: 'GITHUB_AUTH_REDIRECT_URI'
96+
default: ''
10097
},
10198
required: {
10299
doc: 'Whether GitHub Auth is required for an entry to be accepted. This is only included for backwards compatibility with the v2 API. For the v3 API, please use the `auth.required` option instead.',
@@ -108,20 +105,17 @@ const schema = {
108105
clientId: {
109106
doc: 'The client ID to the GitLab Application used for GitLab OAuth.',
110107
format: 'EncryptedString',
111-
default: null,
112-
env: 'GITLAB_AUTH_CLIENT_ID'
108+
default: null
113109
},
114110
clientSecret: {
115111
doc: 'The client secret to the GitLab Application used for GitLab OAuth.',
116112
format: 'EncryptedString',
117-
default: null,
118-
env: 'GITLAB_AUTH_CLIENT_SECRET'
113+
default: null
119114
},
120115
redirectUri: {
121116
doc: 'The URL to redirect to after authenticating with GitLab.',
122117
format: String,
123-
default: '',
124-
env: 'GITLAB_AUTH_REDIRECT_URI'
118+
default: ''
125119
}
126120
},
127121
moderation: {

0 commit comments

Comments
 (0)