fix typo in previous

master
Andrew Dolgov 4 years ago
parent 1f79d614c4
commit 89d53a7f49

@ -1012,7 +1012,7 @@ class Pref_Prefs extends Handler_Protected {
function otpqrcode() {
$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";
$sth = $this->pdo->prepare("SELECT login

Loading…
Cancel
Save