Changeset 5141 for trunk/phpgwapi/inc/class.sessions.inc.php
- Timestamp:
- 11/03/11 13:53:15 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.sessions.inc.php
r4989 r5141 53 53 */ 54 54 var $passwd; 55 /** 56 * @var string current user certificate, if present 57 */ 58 var $certificate; 55 59 56 /** 60 57 * @var int current user db/ldap account id … … 466 463 $this->passwd_type = $passwd_type; 467 464 } 468 if($_SESSION['login_certificate']) 469 { 470 $this->certificate = $_SESSION['login_certificate']; 471 } 472 else 473 { 474 $this->certificate = false; 475 } 465 476 466 $this->clean_sessions(); 477 467 //sessions_::split_login_domain($login,$this->account_lid,$this->account_domain); … … 575 565 576 566 $this->appsession('password','phpgwapi',base64_encode($this->passwd)); 577 $this->appsession('browser_agent','phpgwapi',$GLOBALS['browser']->BROWSER_AGENT);578 if($this->certificate) $this->appsession('certificate','phpgwapi',$this->certificate);579 567 if ($GLOBALS['phpgw']->acl->check('anonymous',1,'phpgwapi')) 580 568 {
Note: See TracChangeset
for help on using the changeset viewer.