diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-10-11 11:02:56 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-10-11 11:02:56 +0000 |
commit | f3300f49964e1a13d35f503afd31770b4cededda (patch) | |
tree | 648bce529ecbdc28f98b4549960b8a256abc3fe7 /phpBB | |
parent | 38d780d1cebc701e1d475b5efe9b093e106b0cd7 (diff) | |
download | forums-f3300f49964e1a13d35f503afd31770b4cededda.tar forums-f3300f49964e1a13d35f503afd31770b4cededda.tar.gz forums-f3300f49964e1a13d35f503afd31770b4cededda.tar.bz2 forums-f3300f49964e1a13d35f503afd31770b4cededda.tar.xz forums-f3300f49964e1a13d35f503afd31770b4cededda.zip |
Changed profile back to deactivating user upon new password request ...
git-svn-id: file:///svn/phpbb/trunk@1165 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/profile.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/phpBB/profile.php b/phpBB/profile.php index 6c3e65a94a..3978cbd269 100644 --- a/phpBB/profile.php +++ b/phpBB/profile.php @@ -6,7 +6,11 @@ * copyright : (C) 2001 The phpBB Group * email : support@phpbb.com * +<<<<<<< profile.php * $Id$ +======= + * $Id$ +>>>>>>> 1.112 * * ***************************************************************************/ @@ -764,7 +768,7 @@ if( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) ) else { $error = true; - echo $error_msg = (!empty($error_msg)) ? $error_msg . "<br />" . $lang['Avatar_filetype'] : $lang['Avatar_filetype']; + $error_msg = (!empty($error_msg)) ? $error_msg . "<br />" . $lang['Avatar_filetype'] : $lang['Avatar_filetype']; } } // if ... allow_avatar_upload } @@ -1431,7 +1435,7 @@ if( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) ) $user_password = generate_password(); $sql = "UPDATE " . USERS_TABLE . " - SET user_newpasswd = '" .md5($user_password) . "', user_actkey = '$user_actkey' + SET user_active = 0, user_newpasswd = '" .md5($user_password) . "', user_actkey = '$user_actkey' WHERE user_id = " . $row['user_id']; if( !$result = $db->sql_query($sql) ) { |