X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=core%2Fsqlitestorage.cpp;h=af5767ddb7710005dfbb6b4e318e38c9c140b958;hp=b45f18585bf7374f1e063616fa43e81758afc438;hb=7ec4585cecc74ce8d9a94b0e52f00a96d105e79e;hpb=62f292ad143923a3b774b9bd14f83f3b640c0cb8 diff --git a/core/sqlitestorage.cpp b/core/sqlitestorage.cpp index b45f1858..af5767dd 100644 --- a/core/sqlitestorage.cpp +++ b/core/sqlitestorage.cpp @@ -233,7 +233,8 @@ UserId SqliteStorage::validateUser(QString user, QString password) { if(query.first()) { return query.value(0).toUInt(); } else { - return 0; + throw AuthError(); + //return 0; } }