- Try to fix: Impossible to connect to LDAP if UserDN contain space(s) #1970

Thanks to Akuket and xet7 !
reviewable/pr1974/r1
Lauri Ojansivu 7 years ago
parent 187b4632e6
commit 05b9e825bb
  1. 2
      server/authentication.js
  2. 2
      snap-src/bin/wekan-read-settings

@ -63,7 +63,7 @@ Meteor.startup(() => {
};
if (Meteor.isServer) {
console.log(process.env.LDAP_AUTHENTIFICATION_USERDN);
if(process.env.OAUTH2_CLIENT_ID !== '') {
ServiceConfiguration.configurations.upsert( // eslint-disable-line no-undef

@ -15,7 +15,7 @@ do
export $key=${!default_value}
else
echo -e "$key=$value"
export $key=$value
export $key="$value"
fi
done

Loading…
Cancel
Save