*** empty log message ***
This commit is contained in:
parent
b72ccdc6f5
commit
077d6179ed
21 changed files with 4018 additions and 251 deletions
|
@ -45,27 +45,33 @@ class uiHandler extends uiBase {
|
|||
$this->redirUrl = UI_BROWSER.'?popup[]=login';
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
$sessid = $this->gb->login($formdata['login'], $formdata['pass']);
|
||||
if(!$sessid || PEAR::isError($sessid)){
|
||||
|
||||
if (!$sessid || PEAR::isError($sessid)){
|
||||
$this->_retMsg('Login failed');
|
||||
$_SESSION['retransferFormData']['login'] = $formdata['login'];
|
||||
$this->redirUrl = UI_BROWSER.'?popup[]=login';
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
#setcookie($this->config['authCookieName'], $sessid);
|
||||
echo "<meta http-equiv='set-cookie' content='".$this->config['authCookieName']."=".$sessid.";'>";
|
||||
ob_flush();
|
||||
|
||||
$id = $this->gb->getObjId($formdata['login'], $this->gb->storId);
|
||||
if(PEAR::isError($id)) {
|
||||
|
||||
if (PEAR::isError($id)) {
|
||||
$this->_retMsg('Access to home directory failed.');
|
||||
$_SESSION['retransferFormData']['login']=$formdata['login'];
|
||||
$this->redirUrl = UI_BROWSER.'?popup[]=login';
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
$this->sessid = $sessid;
|
||||
$this->langid = $formdata['langid'];
|
||||
$this->redirUrl = UI_BROWSER.'?popup[]=_2SCHEDULER&popup[]=_close';
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue