projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
modernize: Use braced-init list when returning types
[quassel.git]
/
src
/
core
/
ldapauthenticator.cpp
diff --git
a/src/core/ldapauthenticator.cpp
b/src/core/ldapauthenticator.cpp
index
76db681
..
7448396
100644
(file)
--- 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