Show SQL query string array if you are logged in as admin below the footer.

This commit is contained in:
Znote
2016-11-13 05:56:27 +01:00
parent c3c236e13e
commit 673c2a2d23
2 changed files with 8 additions and 2 deletions

View File

@@ -58,7 +58,7 @@ if (empty($_POST) === false) {
if ($query['secret'] !== NULL) {
// Validate the secret first to make sure all is good.
if (TokenAuth6238::verify($query['znote_secret'], $authcode) !== true) {
if (TokenAuth6238::verify($query['secret'], $authcode) !== true) {
$errors[] = "Submitted Two-Factor Authentication token is wrong.";
$errors[] = "Make sure to type the correct token from your mobile authenticator.";
$status = false;