mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Add external login buttons
This commit is contained in:
parent
9107d791e2
commit
ebefc902f5
7 changed files with 125 additions and 41 deletions
|
@ -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
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue