diff --git a/layout/footer.php b/layout/footer.php index 3ee2af0..f8c975e 100644 --- a/layout/footer.php +++ b/layout/footer.php @@ -7,4 +7,10 @@ echo 'Server date and clock is: '. getClock(false, true) .' Page generated in '. elapsedTime() .' seconds. Q: '.$aacQueries; ?> Design: css3templates.co.uk. Engine: Znote AAC

- \ No newline at end of file + + \ No newline at end of file diff --git a/login.php b/login.php index 0141e06..19eca42 100644 --- a/login.php +++ b/login.php @@ -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;