[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] sync/inc/class.bo_sync.inc.php, 1.40
From: |
nomail |
Subject: |
[Phpgroupware-cvs] sync/inc/class.bo_sync.inc.php, 1.40 |
Date: |
Mon, 17 May 2004 17:47:37 +0200 |
Update of /sync/inc
Modified Files:
Branch:
class.bo_sync.inc.php
date: 2004/05/17 15:47:37; author: mkaemmerer; state: Exp; lines: +2 -3
Log Message:
- fixed authenticate and removed old debug line
=====================================================================
Index: sync/inc/class.bo_sync.inc.php
diff -u sync/inc/class.bo_sync.inc.php:1.39 sync/inc/class.bo_sync.inc.php:1.40
--- sync/inc/class.bo_sync.inc.php:1.39 Mon May 17 15:03:20 2004
+++ sync/inc/class.bo_sync.inc.php Mon May 17 15:47:37 2004
@@ -102,9 +102,8 @@
else
{ // device is not in database
// compare to phpGW username/password -> add device, if user exists
- if ($GLOBALS['phpgw']->auth->authenticate($username, $password,
'text'))
+ if ($GLOBALS['phpgw']->auth->authenticate($username, $password,
'text') >= 0)
{
- $test = $GLOBALS['phpgw']->auth->authenticate($username, $password,
'text');
$account = CreateObject('phpgwapi.accounts');
$phpgw_accountid = $account->name2id($username);
$ret = $this->so->AddDevice($phpgw_accountid, $URI, $username,
$password);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] sync/inc/class.bo_sync.inc.php, 1.40,
nomail <=