Commit 4f1176bb authored by Zohten's avatar Zohten

sql queries fix, temporary

parent 0c93e8b0
......@@ -17,12 +17,12 @@ User::addSqlQuery(
User::addSqlQuery(
'USER_CREATE',
'INSERT INTO USER (USER_ID, USER_LOGIN, USER_EMAIL, USER_ROLE, USER_PWD, USER_NAME, USER_SURNAME) VALUES (NULL, :login, :email, :role, :pwd, :name, :surname)'
'INSERT INTO USER (USER_ID, USER_LOGIN, USER_EMAIL, USER_ROLE, USER_PASSWORD, USER_NAME, USER_SURNAME) VALUES (NULL, :login, :email, :role, :pwd, :name, :surname)'
);
User::addSqlQuery(
'USER_CONNECT',
'SELECT * FROM USER WHERE USER_LOGIN=:login and USER_PWD=:password'
'SELECT * FROM USER WHERE USER_LOGIN=:login and USER_PASSWORD=:password'
);
User::addSqlQuery(
......
Markdown is supported
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