forked from extern/egroupware
made ldap working again
This commit is contained in:
parent
f4faad636b
commit
e4dda639c7
@ -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__);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@ -115,7 +115,6 @@
|
||||
global $phpgw_info, $phpgw;
|
||||
|
||||
$this->clean_sessions();
|
||||
|
||||
$login_array = explode("@", $login);
|
||||
$phpgw_info["user"]["userid"] = $login_array[0];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user