$username]) ) { $error3 = $lang['wrongpassword']; } else { if (getval("password", "") != getval("password2", "")) { $error2 = true; } else { $message = change_password(getval("password", "")); if ($message === true) { if ($password_reset_mode && empty($last_active) && $email != "") { // This account has just been created, probably an auto approved account. Send the welcome email email_user_welcome($email, $username, $usergroup); redirect($baseurl_short . "pages/done.php?text=password_changed¬loggedin=true"); exit(); } redirect($baseurl_short . "pages/" . ($use_theme_as_home ? 'collections_featured.php' : "home.php")); exit(); } else { $error = true; } } } } include "../../include/header.php"; if ($is_authenticated_ctx) { ?>

!! !!
">
" />
!! !!
!! !!
!! !!
" />