made ldap working again

This commit is contained in:
Lars Kneschke 2001-02-05 19:01:06 +00:00
parent f4faad636b
commit e4dda639c7
2 changed files with 9 additions and 1 deletions

View File

@ -71,5 +71,14 @@
return $encrypted_passwd;
}
function update_lastlogin($account_lid, $ip)
{
global $phpgw;
$phpgw->db->query("update phpgw_accounts set account_lastloginfrom='"
. "$ip', account_lastlogin='" . time()
. "' where account_lid='$login'",__LINE__,__FILE__);
}
}
?>

View File

@ -115,7 +115,6 @@
global $phpgw_info, $phpgw;
$this->clean_sessions();
$login_array = explode("@", $login);
$phpgw_info["user"]["userid"] = $login_array[0];