mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
fixed encoding of password in session table
This commit is contained in:
parent
d19d009cad
commit
b985023787
@ -3,6 +3,7 @@
|
||||
you where in.
|
||||
- You can now use decimals in the inventory program.
|
||||
- Added missing tables for tts and fixed problems with postgresql.
|
||||
- Fixed changing of password not getting set in session table
|
||||
|
||||
[09072000] - Added print icon that allows you to print out a page without having
|
||||
the navbar. Thanks Sam Wynn Jr <sam.wynn@lmco.com>
|
||||
|
@ -76,7 +76,7 @@ if (! $submit) {
|
||||
|
||||
// Since they are logged in, we need to change the password in sessions
|
||||
// in case they decied to check there mail.
|
||||
$phpgw->db->query("update sessions set passwd='" . addslashes($n_passwd)
|
||||
$phpgw->db->query("update sessions set passwd='" . $phpgw->common->encrypt($n_passwd)
|
||||
. "' where loginid='" . $phpgw_info["user"]["userid"] . "'");
|
||||
|
||||
Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"]
|
||||
|
Loading…
Reference in New Issue
Block a user