[geeklog-cvs] geeklog-1.3/public_html/admin user.php,1.57,1.58

geeklog-cvs-admin at lists.geeklog.net geeklog-cvs-admin at lists.geeklog.net
Tue Jul 1 13:07:32 EDT 2003


Update of /usr/cvs/geeklog/geeklog-1.3/public_html/admin
In directory internal.geeklog.net:/tmp/cvs-serv15094

Modified Files:
	user.php 
Log Message:
Bugfix: Any new users created manually were assigned a random password.


Index: user.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/user.php,v
retrieving revision 1.57
retrieving revision 1.58
diff -C2 -d -r1.57 -r1.58
*** user.php	23 Jun 2003 13:18:30 -0000	1.57
--- user.php	1 Jul 2003 17:07:30 -0000	1.58
***************
*** 230,234 ****
  
          if (DB_count($_TABLES['users'],'uid',$uid) == 0) {
!             if (empty ($password)) {
                  // no password? create one ...
                  srand ((double) microtime () * 1000000);
--- 230,234 ----
  
          if (DB_count($_TABLES['users'],'uid',$uid) == 0) {
!             if (empty ($passwd)) {
                  // no password? create one ...
                  srand ((double) microtime () * 1000000);





More information about the geeklog-cvs mailing list