pref-prefs: properly update session pwd hash when changing password
This commit is contained in:
parent
4c59adb1de
commit
d43f783775
1 changed files with 2 additions and 0 deletions
|
@ -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.');
|
||||
|
|
Loading…
Reference in a new issue