From 70461d0753ad630e8be2f0a277bda60df2206c9a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 10 Nov 2020 11:26:50 +0100 Subject: [PATCH] Correctly fix email prop in ldap --- peertube-plugin-auth-ldap/main.js | 2 +- peertube-plugin-auth-ldap/package-lock.json | 2 +- peertube-plugin-auth-ldap/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/peertube-plugin-auth-ldap/main.js b/peertube-plugin-auth-ldap/main.js index ee93863..e98ad35 100644 --- a/peertube-plugin-auth-ldap/main.js +++ b/peertube-plugin-auth-ldap/main.js @@ -178,7 +178,7 @@ async function login (peertubeHelpers, settingsManager, options) { return res({ username, - email: user[mailProperty] + email }) }) }) diff --git a/peertube-plugin-auth-ldap/package-lock.json b/peertube-plugin-auth-ldap/package-lock.json index 9a0d9bc..a09656e 100644 --- a/peertube-plugin-auth-ldap/package-lock.json +++ b/peertube-plugin-auth-ldap/package-lock.json @@ -1,6 +1,6 @@ { "name": "peertube-plugin-auth-ldap", - "version": "0.0.5", + "version": "0.0.6", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/peertube-plugin-auth-ldap/package.json b/peertube-plugin-auth-ldap/package.json index 244a16f..08c6e9f 100644 --- a/peertube-plugin-auth-ldap/package.json +++ b/peertube-plugin-auth-ldap/package.json @@ -1,6 +1,6 @@ { "name": "peertube-plugin-auth-ldap", - "version": "0.0.5", + "version": "0.0.6", "description": "Add LDAP support to login form in PeerTube.", "engine": { "peertube": ">=2.2.0"