diff options
Diffstat (limited to 'debug.xml')
-rw-r--r-- | debug.xml | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -133,7 +133,7 @@ <entry key='database.loginUser'> SELECT * FROM user - WHERE email = :email AND password = :password; + WHERE email = :email; </entry> <entry key='database.selectUsersAll'> @@ -141,8 +141,8 @@ </entry> <entry key='database.insertUser'> - INSERT INTO user (name, email, password, admin) - VALUES (:name, :email, :password, :admin); + INSERT INTO user (name, email, password, salt, admin) + VALUES (:name, :email, :password, :salt, :admin); </entry> <entry key='database.updateUser'> @@ -154,7 +154,7 @@ </entry> <entry key='database.updateUserPassword'> - UPDATE user SET password = :password WHERE id = :id; + UPDATE user SET password = :password, salt = :salt WHERE id = :id; </entry> <entry key='database.deleteUser'> |