diff options
-rw-r--r-- | classes/userhelper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/userhelper.php b/classes/userhelper.php index 7008bf62c..228bb14fb 100644 --- a/classes/userhelper.php +++ b/classes/userhelper.php @@ -494,7 +494,7 @@ class UserHelper { * @param string $password password to compare hash against * @return bool */ - static function user_has_password(?int $owner_uid = null, string $password) : bool { + static function user_has_password(?int $owner_uid, string $password) : bool { if ($owner_uid) { $authenticator = new Auth_Internal(); |