Possibility to configure an OpenID Connect provider on the instance level WIP (#128)
Get avatar from remote service.
This commit is contained in:
@ -34,7 +34,8 @@ async function ensureUser (options: RegisterServerOptions, infos: ExternalAccoun
|
||||
const apiData = {
|
||||
jid: infos.jid,
|
||||
nickname: infos.nickname,
|
||||
password: infos.password
|
||||
password: infos.password,
|
||||
avatar: infos.avatar
|
||||
}
|
||||
try {
|
||||
logger.debug('Calling ensure-user API on url: ' + apiUrl)
|
||||
|
@ -231,6 +231,7 @@ class ProsodyConfigContent {
|
||||
this.external.set('modules_enabled', [
|
||||
'ping',
|
||||
'http',
|
||||
'vcard',
|
||||
'http_peertubelivechat_manage_users'
|
||||
])
|
||||
this.external.set('peertubelivechat_manage_users_apikey', apikey)
|
||||
|
Reference in New Issue
Block a user