[svn r14051] Fix other issue with automatic user accounts creation when creating a portal (see FS#2148)

skala
Yannick Warnier 18 years ago
parent 5477c5db4c
commit 25e9224e49
  1. 2
      main/install/dokeos_main.sql

@ -739,7 +739,7 @@ ALTER TABLE user ADD INDEX (status);
LOCK TABLES user WRITE;
INSERT INTO user VALUES (1,'{ADMINLASTNAME}','{ADMINFIRSTNAME}','{ADMINLOGIN}','{ADMINPASSWORD}','{PLATFORM_AUTH_SOURCE}','{ADMINEMAIL}',1,'ADMIN',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'0000-00-00 00:00:00','',NULL,NOW(),'0000-00-00 00:00:00','1',NULL);
-- Insert anonymous user
INSERT INTO user(lastname, firstname, username, password, auth_source, email, status, official_code, creator_id, registration_date, expiration_date,active) VALUES ('Anonymous', 'Joe', '', '', 'platform', 'anonymous@localhost', 6, 'anonymous', 1, NOW(), '0000-00-00 00:00:00', 1,NULL);
INSERT INTO user(lastname, firstname, username, password, auth_source, email, status, official_code, creator_id, registration_date, expiration_date,active,openid) VALUES ('Anonymous', 'Joe', '', '', 'platform', 'anonymous@localhost', 6, 'anonymous', 1, NOW(), '0000-00-00 00:00:00', 1,NULL);
UNLOCK TABLES;
/*!40000 ALTER TABLE user ENABLE KEYS */;

Loading…
Cancel
Save