mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-13 18:04:54 +02:00
Show SQL query string array if you are logged in as admin below the footer.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user