[geeklog-cvs] Geeklog-1.x/public_html/admin auth.inc.php, 1.35, 1.36

Dirk Haun dhaun at qs1489.pair.com
Sun Feb 17 13:32:37 EST 2008


Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin
In directory qs1489.pair.com:/tmp/cvs-serv64965/public_html/admin

Modified Files:
	auth.inc.php 
Log Message:
Use USER_ACCOUNT_ACTIVE constant


Index: auth.inc.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/auth.inc.php,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** auth.inc.php	25 Nov 2007 06:58:55 -0000	1.35
--- auth.inc.php	17 Feb 2008 18:32:35 -0000	1.36
***************
*** 3,7 ****
  /* Reminder: always indent with 4 spaces (no tabs). */
  // +---------------------------------------------------------------------------+
! // | Geeklog 1.4                                                               |
  // +---------------------------------------------------------------------------+
  // | auth.inc.php                                                              |
--- 3,7 ----
  /* Reminder: always indent with 4 spaces (no tabs). */
  // +---------------------------------------------------------------------------+
! // | Geeklog 1.5                                                               |
  // +---------------------------------------------------------------------------+
  // | auth.inc.php                                                              |
***************
*** 9,13 ****
  // | Geeklog admin authentication module                                       |
  // +---------------------------------------------------------------------------+
! // | Copyright (C) 2000-2006 by the following authors:                         |
  // |                                                                           |
  // | Authors: Tony Bibbs        - tony AT tonybibbs DOT com                    |
--- 9,13 ----
  // | Geeklog admin authentication module                                       |
  // +---------------------------------------------------------------------------+
! // | Copyright (C) 2000-2008 by the following authors:                         |
  // |                                                                           |
  // | Authors: Tony Bibbs        - tony AT tonybibbs DOT com                    |
***************
*** 50,54 ****
  $display = '';
  
! if ($status == 3) {
      DB_change($_TABLES['users'],'pwrequestid',"NULL",'uid',$uid);
      $_USER = SESS_getUserDataFromId ($uid);
--- 50,54 ----
  $display = '';
  
! if ($status == USER_ACCOUNT_ACTIVE) {
      DB_change($_TABLES['users'],'pwrequestid',"NULL",'uid',$uid);
      $_USER = SESS_getUserDataFromId ($uid);




More information about the geeklog-cvs mailing list