[geeklog-cvs] Geeklog-1.x/system lib-webservices.php,1.33,1.34

Dirk Haun dhaun at qs1489.pair.com
Sun Mar 9 12:19:47 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/system
In directory qs1489.pair.com:/tmp/cvs-serv11695/system

Modified Files:
	lib-webservices.php 
Log Message:
Check if local login is enabled before attempting to authenticate user


Index: lib-webservices.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-webservices.php,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** lib-webservices.php	20 Feb 2008 20:38:00 -0000	1.33
--- lib-webservices.php	9 Mar 2008 16:19:45 -0000	1.34
***************
*** 760,764 ****
  
      if (!empty($username) && !empty($password)) {
!         $status = SEC_authenticate($username, $password, $uid);
      }
  
--- 760,766 ----
  
      if (!empty($username) && !empty($password)) {
!         if ($_CONF['user_login_method']['standard']) {
!             $status = SEC_authenticate($username, $password, $uid);
!         }
      }
  




More information about the geeklog-cvs mailing list