database structure change
This commit is contained in:
parent
035d143615
commit
10d234f6c7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue