diff options
| author | 2021-04-16 11:50:51 +0100 | |
|---|---|---|
| committer | 2021-04-16 11:50:51 +0100 | |
| commit | ba8a15adcde58a7db5e00790a55803be9d6d2fda (patch) | |
| tree | ec73aa6bc938f15e61dbd09fcf9249773b29c718 /src/modules/m_ldapauth.cpp | |
| parent | Update references to config fields which were renamed. (diff) | |
Fix using a different field name in ldapauth than is documented.
Closes #1864.
Diffstat (limited to 'src/modules/m_ldapauth.cpp')
| -rw-r--r-- | src/modules/m_ldapauth.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_ldapauth.cpp b/src/modules/m_ldapauth.cpp index 8fc0ca0b0..4885bc0e5 100644 --- a/src/modules/m_ldapauth.cpp +++ b/src/modules/m_ldapauth.cpp @@ -331,7 +331,7 @@ public: vhost = tag->getString("host"); // Set to true if failed connects should be reported to operators verbose = tag->getBool("verbose"); - useusername = tag->getBool("userfield"); + useusername = tag->getBool("useusername", tag->getBool("userfield")); LDAP.SetProvider("LDAP/" + tag->getString("dbid")); |
