aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api/config.ts')
-rw-r--r--server/controllers/api/config.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/controllers/api/config.ts b/server/controllers/api/config.ts
index e8941bc73..85f3ad3d9 100644
--- a/server/controllers/api/config.ts
+++ b/server/controllers/api/config.ts
@@ -278,6 +278,8 @@ function getIdAndPassAuthPlugins () {
278 for (const auth of p.idAndPassAuths) { 278 for (const auth of p.idAndPassAuths) {
279 result.push({ 279 result.push({
280 npmName: p.npmName, 280 npmName: p.npmName,
281 name: p.name,
282 version: p.version,
281 authName: auth.authName, 283 authName: auth.authName,
282 weight: auth.getWeight() 284 weight: auth.getWeight()
283 }) 285 })
@@ -294,6 +296,8 @@ function getExternalAuthsPlugins () {
294 for (const auth of p.externalAuths) { 296 for (const auth of p.externalAuths) {
295 result.push({ 297 result.push({
296 npmName: p.npmName, 298 npmName: p.npmName,
299 name: p.name,
300 version: p.version,
297 authName: auth.authName, 301 authName: auth.authName,
298 authDisplayName: auth.authDisplayName 302 authDisplayName: auth.authDisplayName
299 }) 303 })