Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
68f1358f
Commit
68f1358f
authored
Jul 05, 2015
by
Fabio Bas
Browse files
rebased on master
parent
15998fb3
Changes
1
Hide whitespace changes
Inline
Side-by-side
servatrice/src/servatrice_database_interface.cpp
View file @
68f1358f
...
...
@@ -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"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment