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"