X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fldapauthenticator.cpp;h=0eedc3c99691b7379000be3ae514dae9a131663f;hb=48017b680ede0dbfb121d1184dfbd13536cfc53f;hp=e7dc3c0c601662e16f30580c1a9b74538c5d8353;hpb=8c6448c2e0048389fbac9e2e9daf22b5b050d5b6;p=quassel.git diff --git a/src/core/ldapauthenticator.cpp b/src/core/ldapauthenticator.cpp index e7dc3c0c..0eedc3c9 100644 --- a/src/core/ldapauthenticator.cpp +++ b/src/core/ldapauthenticator.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -128,7 +128,7 @@ UserId LdapAuthenticator::validateUser(const QString& username, const QString& p // Users created via LDAP have empty passwords, but authenticator column = LDAP. // On the other hand, if auth succeeds and the user already exists, do a final // cross-check to confirm we're using the right auth provider. - UserId quasselId = Core::validateUser(lUsername, QString()); + UserId quasselId = Core::getUserId(lUsername); if (!quasselId.isValid()) { return Core::addUser(lUsername, QString(), backendId()); }