X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fldapauthenticator.cpp;h=7448396b0ae7f2ba96976d2f1b0ccace1c807113;hb=61f33c7895e324f6e95034d86897ad2e963653f1;hp=76db681a9034a88dae66cf26c79fa7290c0f738b;hpb=39328183a6a87c6eb10a9dbbffcd5d65bf154a1f;p=quassel.git 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