diff --git a/modules/pref-prefs.php b/modules/pref-prefs.php index da5ae60bf..a55d78f9f 100644 --- a/modules/pref-prefs.php +++ b/modules/pref-prefs.php @@ -69,6 +69,8 @@ db_query($link, "UPDATE ttrss_users SET pwd_hash = '$new_pw_hash' WHERE id = '$active_uid'"); + $_SESSION["pwd_hash"] = $new_pw_hash; + print __("Password has been changed."); } else { print "ERROR: ".__('Old password is incorrect.');