Changeset 4886 for trunk/phpgwapi/inc/class.sessions.inc.php
- Timestamp:
- 08/02/11 09:44:07 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.sessions.inc.php
r3486 r4886 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.