Commit b0af2b3a authored by quentin.vrel's avatar quentin.vrel

updating the passwords & inverting first-lastname

parent c9a64ae4
......@@ -44,11 +44,11 @@ create table MJ_USER
ID_USER int not null auto_increment comment '',
ID_ROLE int comment '',
LOGIN varchar(16) not null comment '',
PASWORD char(80) not null comment '',
AVATAR char(255) comment '',
LASTNAME char(55) comment '',
FIRSTNAME char(55) comment '',
MAIL char(64) not null comment '',
PASWORD varchar(80) not null comment '',
AVATAR varchar(255) comment '',
LASTNAME varchar(55) comment '',
FIRSTNAME varchar(55) comment '',
MAIL varchar(64) not null comment '',
BAN_ACCOUNT bool comment '',
LAST_IP varchar(15) comment '',
primary key (ID_USER),
......
......@@ -10,15 +10,15 @@ VALUES
(2,'Admin');
/* Password lenght to 80*/
INSERT INTO `MJ_USER` (`ID_USER`, `ID_ROLE`, `LOGIN`, `PASWORD`, `AVATAR`, `LASTNAME`, `FIRSTNAME`, `MAIL`, `BAN_ACCOUNT`, `LAST_IP`)
INSERT INTO `MJ_USER` (`ID_USER`, `ID_ROLE`, `LOGIN`, `PASWORD`, `AVATAR`, `FIRSTNAME`, `LASTNAME`, `MAIL`, `BAN_ACCOUNT`, `LAST_IP`)
VALUES
(1, 1, 'pierrp59', 'hashedpierrepwd', 'becky.jpg', 'pierre', 'poljak', 'pierre.poljak@free.fr', 0, '92.169.12.1'),
(2, 1, 'johnd62', 'hashedjohnpwd', 'crystale.jpg', 'john', 'doe', 'john.doe@free.fr', 0, '92.169.12.2'),
(3, 1, 'dupontd95', 'hasheddupontpwd', 'macdougall.jpg', 'dupont', 'dupond', 'dupont.dupond@free.fr', 0, '92.169.12.3'),
(4, 1, 'jacky35', 'hashedjackypwd', 'ridge.jpg', 'jacky', 'tuning', 'jacky.tuning@free.fr', 0, '92.169.12.4'),
(5, 1, 'hackerman', 'hashedhackermanpwd', 'brad.jpg', 'hacker', 'man', 'hacker.man@free.fr', 1, '92.169.12.51'),
(6, 1, 'kevinlekikou', 'hashedkevinlekikoupwd', 'madge.jpg', 'kevin', 'lekikou', 'kevin.lekikou@free.fr', 1, '92.169.12.5'),
(7, 2, 'admin', 'hashedadminpwd', 'brenda.jpg', 'beloved', 'admin', 'beloved.admin@free.fr', 0, '92.169.12.6');
(1, 1, 'pierrp59', '$2a$10$4AAhcsd4FpiPvUS718BemuGivzgRcsgxWbaSNdD.dK4wNwJAn.lQO', 'becky.jpg', 'pierre', 'poljak', 'pierre.poljak@free.fr', 0, '92.169.12.1'),
(2, 1, 'johnd62', '$2a$10$4AAhcsd4FpiPvUS718BemuGivzgRcsgxWbaSNdD.dK4wNwJAn.lQO', 'crystale.jpg', 'john', 'doe', 'john.doe@free.fr', 0, '92.169.12.2'),
(3, 1, 'dupontd95', '$2a$10$4AAhcsd4FpiPvUS718BemuGivzgRcsgxWbaSNdD.dK4wNwJAn.lQO', 'macdougall.jpg', 'dupont', 'dupond', 'dupont.dupond@free.fr', 0, '92.169.12.3'),
(4, 1, 'jacky35', '$2a$10$4AAhcsd4FpiPvUS718BemuGivzgRcsgxWbaSNdD.dK4wNwJAn.lQO', 'ridge.jpg', 'jacky', 'tuning', 'jacky.tuning@free.fr', 0, '92.169.12.4'),
(5, 1, 'hackerman', '$2a$10$4AAhcsd4FpiPvUS718BemuGivzgRcsgxWbaSNdD.dK4wNwJAn.lQO', 'brad.jpg', 'hacker', 'man', 'hacker.man@free.fr', 1, '92.169.12.51'),
(6, 1, 'kevinlekikou', '$2a$10$4AAhcsd4FpiPvUS718BemuGivzgRcsgxWbaSNdD.dK4wNwJAn.lQO', 'madge.jpg', 'kevin', 'lekikou', 'kevin.lekikou@free.fr', 1, '92.169.12.5'),
(7, 2, 'admin', '$2a$10$4AAhcsd4FpiPvUS718Bemul4rqchPT9iedQPcUEOQ1/Qqc55prGE6', 'brenda.jpg', 'beloved', 'admin', 'beloved.admin@free.fr', 0, '92.169.12.6');
INSERT INTO `MJ_GAME` (ID_GAME, PRIVATE, CREATION_TIME)
VALUES
......
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