From 42460d2165b63a0051a163e49d8b0c5f18d9a82c Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Tue, 19 Mar 2019 17:34:28 -0600 Subject: [PATCH] Adjust User.lib.php --- lib/User.lib.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/User.lib.php b/lib/User.lib.php index 5b59495..7f7d4c8 100644 --- a/lib/User.lib.php +++ b/lib/User.lib.php @@ -103,7 +103,6 @@ class User { /** * Check the given plaintext password against the stored hash. * @param string $password - * @param bool $apppass Set to true to enforce app passwords when 2fa is on. * @return bool */ function checkPassword(string $password): bool { @@ -163,7 +162,7 @@ class User { return true; } - + function check2fa(string $code): bool { if (!$this->has2fa) { return true;