summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-04-17 15:00:18 +0100
committerSadie Powell <sadie@witchery.services>2020-04-17 15:00:48 +0100
commitac1b4ea7ae9859c342476cd326bdf31399dfa9e0 (patch)
tree3f4040ca6927ce8cdac3faf5c3a2698bd8218477 /src/modules
parent000c6239e38e69ae3c56b65cf5923c81740057ba (diff)
Fix ldapoper trying to auth using the provider name as the account.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_ldapoper.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/modules/m_ldapoper.cpp b/src/modules/m_ldapoper.cpp
index 4f24615d0..aad21522b 100644
--- a/src/modules/m_ldapoper.cpp
+++ b/src/modules/m_ldapoper.cpp
@@ -150,7 +150,13 @@ class AdminBindInterface : public LDAPInterface
public:
AdminBindInterface(Module* c, const std::string& p, const std::string& u, const std::string& o, const std::string& pa, const std::string& b, const std::string& w)
- : LDAPInterface(c), provider(p), user(u), opername(p), password(pa), base(b), what(w)
+ : LDAPInterface(c)
+ , provider(p)
+ , user(u)
+ , opername(o)
+ , password(pa)
+ , base(b)
+ , what(w)
{
}