Browse Source

Merge branch 'otp' of fturco/tt-rss into master

fox 6 years ago
parent
commit
bb0a8e323e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      classes/pref/prefs.php

+ 1 - 1
classes/pref/prefs.php

@@ -887,7 +887,7 @@ class Pref_Prefs extends Handler_Protected {
 
 		if ($authenticator->check_password($_SESSION["uid"], $password)) {
 
-			$sth = $this->pdo->query("SELECT salt
+			$sth = $this->pdo->prepare("SELECT salt
 				FROM ttrss_users
 				WHERE id = ?");
 			$sth->execute([$_SESSION['uid']]);