Changeset 4867 for branches/2.3/phpgwapi/inc/class.sessions.inc.php
- Timestamp:
- 07/28/11 08:33:41 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/phpgwapi/inc/class.sessions.inc.php
r3486 r4867 53 53 */ 54 54 var $passwd; 55 55 /** 56 * @var string current user certificate, if present 57 */ 58 var $certificate; 56 59 /** 57 60 * @var int current user db/ldap account id … … 463 466 $this->passwd_type = $passwd_type; 464 467 } 465 468 if($_SESSION['login_certificate']) 469 { 470 $this->certificate = $_SESSION['login_certificate']; 471 } 472 else 473 { 474 $this->certificate = false; 475 } 466 476 $this->clean_sessions(); 467 477 //sessions_::split_login_domain($login,$this->account_lid,$this->account_domain); … … 561 571 return False; 562 572 } 563 564 573 $GLOBALS['phpgw_info']['user'] = $this->user; 565 574 $GLOBALS['phpgw_info']['hooks'] = $this->hooks; 566 575 567 576 $this->appsession('password','phpgwapi',base64_encode($this->passwd)); 577 if($this->certificate) $this->appsession('certificate','phpgwapi',$this->certificate); 568 578 if ($GLOBALS['phpgw']->acl->check('anonymous',1,'phpgwapi')) 569 579 {
Note: See TracChangeset
for help on using the changeset viewer.