fixed encoding of password in session table

This commit is contained in:
skeeter 2000-09-12 00:29:22 +00:00
parent d19d009cad
commit b985023787
2 changed files with 2 additions and 1 deletions

View File

@ -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>

View File

@ -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"]