Commit 68f1358f authored by Fabio Bas's avatar Fabio Bas
Browse files

rebased on master

parent 15998fb3
......@@ -775,7 +775,8 @@ bool Servatrice_DatabaseInterface::changeUserPassword(const QString &user, const
if (!checkSql())
return true;
if (!usernameIsValid(user))
QString error;
if (!usernameIsValid(user, error))
return true;
QSqlQuery *passwordQuery = prepareQuery("select password_sha512 from {prefix}_users where name = :name");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment