mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-09 07:21:33 +00:00
save module user authenticated with, only allow password change if module is 'internal'
This commit is contained in:
@@ -214,7 +214,7 @@ class Pref_Prefs extends Protected_Handler {
|
||||
|
||||
print "</form>";
|
||||
|
||||
if (!SINGLE_USER_MODE && !$_SESSION["hide_change_password"]) {
|
||||
if (!SINGLE_USER_MODE && $_SESSION["auth_module"] == 'internal') {
|
||||
|
||||
$result = db_query($this->link, "SELECT id FROM ttrss_users
|
||||
WHERE id = ".$_SESSION["uid"]." AND pwd_hash
|
||||
|
||||
Reference in New Issue
Block a user