Commit 6c4c28ab authored by drsassafras's avatar drsassafras

[REM][DB] password field tidy-up II

parent 28106053
......@@ -2715,7 +2715,6 @@ CREATE TABLE `users_users` (
`userId` int(8) NOT NULL auto_increment,
`email` varchar(200) default NULL,
`login` varchar(200) NOT NULL default '',
`password` varchar(30) default '',
`provpass` varchar(30) default NULL,
`default_group` varchar(255),
`lastLogin` int(14) default NULL,
......@@ -2742,7 +2741,7 @@ CREATE TABLE `users_users` (
-- Administrator account
INSERT INTO users_users(email,login,password,hash,created,registrationDate) VALUES ('','admin','admin',md5('adminadmin'),UNIX_TIMESTAMP(),UNIX_TIMESTAMP());
INSERT INTO users_users(email,login,hash,created,registrationDate) VALUES ('','admin','$2y$10$nzMJ64PLyjKqgKvqSvO/S.n8jtgAiRzmNMYPLq/TQVLfYIFa0xqkG',UNIX_TIMESTAMP(),UNIX_TIMESTAMP());
INSERT INTO tiki_user_preferences (user,`prefName`,value) VALUES ('admin','realName','System Administrator');
INSERT INTO users_usergroups (`userId`, `groupName`) VALUES(1,'Admins');
INSERT INTO users_grouppermissions (`groupName`, `permName`) VALUES ('Admins','tiki_p_admin');
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