Add external login buttons

This commit is contained in:
Chocobozzz
2020-04-29 10:42:35 +02:00
committed by Chocobozzz
parent 9107d791e2
commit ebefc902f5
7 changed files with 125 additions and 41 deletions

View File

@@ -278,6 +278,8 @@ function getIdAndPassAuthPlugins () {
for (const auth of p.idAndPassAuths) {
result.push({
npmName: p.npmName,
name: p.name,
version: p.version,
authName: auth.authName,
weight: auth.getWeight()
})
@@ -294,6 +296,8 @@ function getExternalAuthsPlugins () {
for (const auth of p.externalAuths) {
result.push({
npmName: p.npmName,
name: p.name,
version: p.version,
authName: auth.authName,
authDisplayName: auth.authDisplayName
})