From 31d4407b4ea652d5a57ca09c11fa49b12658508d Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Sat, 18 May 2024 10:11:10 +0100 Subject: [PATCH] formatting --- model/TotpPf.php | 2 +- public/users/totp.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/model/TotpPf.php b/model/TotpPf.php index 78f1931b..5af8b977 100644 --- a/model/TotpPf.php +++ b/model/TotpPf.php @@ -272,7 +272,7 @@ class TotpPf } } elseif (authentication_has_role('global-admin')) { $admin = 2; - // can do anything + // can do anything } else { // force the current user to also be the exemption username. $exception_username = $username; diff --git a/public/users/totp.php b/public/users/totp.php index fe603488..5897fe36 100644 --- a/public/users/totp.php +++ b/public/users/totp.php @@ -65,7 +65,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") { $error = 0; if (!$login->login($username, $fPassword_current)) { - $error ++; + $error++; $pPassword_password_current_text = $PALANG['pPassword_password_current_text_error']; }