mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-08 11:24:46 -08:00
database structure change
This commit is contained in:
@@ -116,7 +116,7 @@ AuthenticationResult Servatrice::checkUserPassword(const QString &user, const QS
|
||||
checkSql();
|
||||
|
||||
QSqlQuery query;
|
||||
query.prepare("select password from players where name = :name");
|
||||
query.prepare("select password from users where name = :name");
|
||||
query.bindValue(":name", user);
|
||||
if (!execSqlQuery(query))
|
||||
return PasswordWrong;
|
||||
|
||||
Reference in New Issue
Block a user