summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/pref-prefs.php2
1 files changed, 2 insertions, 0 deletions
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.');