R34414 - /trunk/activesync/backend/egw.php

Author: p_herbert
New Revision: 34414

URL: http://www.egroupware.org/viewvc/egroupware?rev=34414&view=rev
Log:
allow to set auth type used for activesync in setup

Modified:
trunk/activesync/backend/egw.php

Modified: trunk/activesync/backend/egw.php
URL: http://www.egroupware.org/viewvc/egroupware/trunk/activesync/backend/egw.php?rev=34414&r1=34413&r2=34414&view=diff

— trunk/activesync/backend/egw.php (original)
+++ trunk/activesync/backend/egw.php Mon Mar 28 11:45:51 2011
@@ -41,6 +41,7 @@
public function Logon($username, $domain, $password)
{
// check credentials and create session

  •   	$GLOBALS['egw_info']['flags']['currentapp'] = 'activesync';
      if (!($this->egw_sessionID = $GLOBALS['egw']->session->create($username,$password,'text',true)))	// true = no real session
      {
      	debugLog(__METHOD__."() z-push authentication failed: ".$GLOBALS['egw']->session->cd_reason);
    

@@ -51,7 +52,6 @@
debugLog(METHOD."() z-push authentication failed: NO run rights for activesync application!");
return false;
}

  •   	$GLOBALS['egw_info']['flags']['currentapp'] = 'activesync';
      	debugLog(__METHOD__."('$username','$domain',...) logon SUCCESS");
    
      	$this->_loggedin = TRUE;
    

Enable your software for Intel® Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel® vPro ™ technology - will your software
be a part of the solution? Download the Intel® Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar


eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs