forked from extern/egroupware
fix for changing of users password and setting in phpgw_sessions
This commit is contained in:
parent
1083112979
commit
cce88109f4
@ -116,6 +116,8 @@
|
||||
if ($account_info["old_loginid"] != $account_info["loginid"]) {
|
||||
$phpgw->db->query("update accounts set account_lid='" . $account_info["loginid"]
|
||||
. "' where account_lid='" . $account_info["old_loginid"] . "'");
|
||||
$phpgw->db->query("update phpgw_sessions set session_lid='" . $account_info["loginid"]
|
||||
. "' where session_lid='" . $account_info["old_loginid"] . "'");
|
||||
|
||||
// $account_info["loginid"] = $account_info["n_loginid"];
|
||||
}
|
||||
@ -125,7 +127,7 @@
|
||||
. "account_lastpwd_change='" . time() . "' where account_lid='"
|
||||
. $account_info["loginid"] . "'");
|
||||
$phpgw->db->query("update phpgw_sessions set session_pwd='" . addslashes($account_info["passwd"])
|
||||
. "' where session_lid='" . $lid . "'");
|
||||
. "' where session_lid='" . $account_info["loginid"] . "'");
|
||||
}
|
||||
|
||||
while ($permission = each($account_info["permissions"])) {
|
||||
|
@ -35,6 +35,7 @@
|
||||
- Merged in patch for Danish translation
|
||||
Thanks again zaphod
|
||||
- Fixed birthday reminders not showing up
|
||||
- Fixed changing of users password through admin.
|
||||
|
||||
[0.9.7] - Fixed SQL error in tts
|
||||
- Fixed table locking in admin -> edit account
|
||||
|
Loading…
Reference in New Issue
Block a user