Browse Source

Adjust User.lib.php

master
Skylar Ittner 3 months ago
parent
commit
42460d2165
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      lib/User.lib.php

+ 1
- 2
lib/User.lib.php View File

@@ -103,7 +103,6 @@ class User {
103 103
     /**
104 104
      * Check the given plaintext password against the stored hash.
105 105
      * @param string $password
106
-     * @param bool $apppass Set to true to enforce app passwords when 2fa is on.
107 106
      * @return bool
108 107
      */
109 108
     function checkPassword(string $password): bool {
@@ -163,7 +162,7 @@ class User {
163 162
         return true;
164 163
     }
165 164
 
166
-
165
+    
167 166
     function check2fa(string $code): bool {
168 167
         if (!$this->has2fa) {
169 168
             return true;

Loading…
Cancel
Save