mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:25:57 +00:00
fix typo in previous
This commit is contained in:
@@ -1012,7 +1012,7 @@ class Pref_Prefs extends Handler_Protected {
|
|||||||
function otpqrcode() {
|
function otpqrcode() {
|
||||||
$csrf_token_hash = clean($_REQUEST["csrf_token_hash"]);
|
$csrf_token_hash = clean($_REQUEST["csrf_token_hash"]);
|
||||||
|
|
||||||
if (sha1($_SESSION["csrf_token"] === $csrf_token_hash)) {
|
if (sha1($_SESSION["csrf_token"]) === $csrf_token_hash) {
|
||||||
require_once "lib/phpqrcode/phpqrcode.php";
|
require_once "lib/phpqrcode/phpqrcode.php";
|
||||||
|
|
||||||
$sth = $this->pdo->prepare("SELECT login
|
$sth = $this->pdo->prepare("SELECT login
|
||||||
|
|||||||
Reference in New Issue
Block a user