From 322a8f25b41989cac15c45b7ca9af6e716bb0899 Mon Sep 17 00:00:00 2001 From: jengo Date: Sat, 19 Aug 2000 13:27:01 +0000 Subject: [PATCH] Added a better message about users logining in for the first time about change there password --- admin/deleteaccount.php | 2 +- admin/newaccount.php | 4 ++-- doc/CHANGELOG | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/admin/deleteaccount.php b/admin/deleteaccount.php index 46d09e0f8e..41fa112140 100755 --- a/admin/deleteaccount.php +++ b/admin/deleteaccount.php @@ -82,7 +82,7 @@ $phpgw->db->query("delete from addressbook where owner='$lid'"); $phpgw->db->query("delete from accounts where loginid='$lid'"); $phpgw->db->query("delete from users_headlines where owner='$lid'"); - $phpgw->db->query("delete from profiles where owner='$lid'"); + //$phpgw->db->query("delete from profiles where owner='$lid'"); $phpgw->db->unlock(); diff --git a/admin/newaccount.php b/admin/newaccount.php index 079e833742..ca0bba1d82 100755 --- a/admin/newaccount.php +++ b/admin/newaccount.php @@ -61,10 +61,10 @@ $phpgwpermissions->add("anonymous"); $sql = "insert into accounts (loginid,passwd,firstname,lastname," - . "permissions,groups,status) values ('$n_loginid'" + . "permissions,groups,status,lastpasswd_change) values ('$n_loginid'" . ",'" . md5($n_passwd) . "','" . addslashes($n_firstname) . "','" . addslashes($n_lastname) . "','" . $phpgw->permissions->add_rebuild() - . "','" . $phpgw->groups->array_to_string("none",$n_groups) . "','A')"; + . "','" . $phpgw->groups->array_to_string("none",$n_groups) . "','A',0)"; $phpgw->db->query($sql); $phpgw->db->unlock(); diff --git a/doc/CHANGELOG b/doc/CHANGELOG index d0f0dc5536..e2788af6f2 100755 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -22,6 +22,7 @@ - Added feature to filter out entrys only within a certain group. This is for the todo list and addressbook. - Added a search field and next matchs icons to accounts and groups form. + - Fixed the "code" messages not showing up after adding new entrys and what not. [08152000] - Fixed a problem with the calendar not showing the months in the users langague preference.