Update of /cvsroot/phpslash/phpslash-ft/tables/0.65
In directory usw-pr-cvs1:/tmp/cvs-serv3993/phpslash-ft/tables/0.65
Modified Files:
slash-all.sql 6_to_65.sql
Log Message:
store password as md5
Index: slash-all.sql
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/tables/0.65/slash-all.sql,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** slash-all.sql 2002/01/09 17:05:34 1.6
--- slash-all.sql 2002/01/23 00:15:22 1.7
***************
*** 161,165 ****
#
! INSERT INTO psl_author (author_id, author_name, author_realname, url, email, quote, password, seclev, perms) VALUES ( '1', 'god', '', 'http://www.god.com', 'go...@he...', 'God doesn't need a 'quote'!', 'password', '1000000', 'root,nobody,user,topic,story,section,submission,block,poll,author,variable,glossary,mailinglist,logging');
# --------------------------------------------------------
--- 161,165 ----
#
! INSERT INTO psl_author (author_id, author_name, author_realname, url, email, quote, password, seclev, perms) VALUES ( '1', 'god', '', 'http://www.god.com', 'go...@he...', 'God doesn't need a 'quote'!', MD5('god:password'), '1000000', 'root,nobody,user,topic,story,section,submission,block,poll,author,variable,glossary,mailinglist,logging');
# --------------------------------------------------------
Index: 6_to_65.sql
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/tables/0.65/6_to_65.sql,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** 6_to_65.sql 2002/01/15 16:32:13 1.5
--- 6_to_65.sql 2002/01/23 00:15:22 1.6
***************
*** 12,13 ****
--- 12,15 ----
update psl_author set perms='root,nobody,user,topic,story,section,submission,block,poll,author,variable,glossary,mailinglist,logging,comment' where seclev > '999999';
+
+ UPDATE psl_author SET password = MD5(CONCAT(author_name,":",password));
|