X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fldapauthenticator.cpp;h=7448396b0ae7f2ba96976d2f1b0ccace1c807113;hp=76db681a9034a88dae66cf26c79fa7290c0f738b;hb=98144aaad0cd747f186edcd0e36a1d67326ac766;hpb=e2188dc438be6f3eb0d9cdf47d28821aefe9835e diff --git a/src/core/ldapauthenticator.cpp b/src/core/ldapauthenticator.cpp index 76db681a..7448396b 100644 --- a/src/core/ldapauthenticator.cpp +++ b/src/core/ldapauthenticator.cpp @@ -131,7 +131,7 @@ UserId LdapAuthenticator::validateUser(const QString &username, const QString &p { bool result = ldapAuth(username, password); if (!result) { - return UserId(); + return {}; } // LDAP is case-insensitive, thus we will lowercase the username, in spite of