diff options
author | Andrew Dolgov <[email protected]> | 2021-11-14 11:11:49 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-11-14 11:11:49 +0300 |
commit | 0a2dcacbcf01e1ebb225570fb99811c4215c6ea9 (patch) | |
tree | 8ffae105e37718ecbd8a0de723ee95b68fb893c7 /classes/auth | |
parent | 81a10f69bcc38b62aad79f9be716adcf4ed49d2d (diff) |
normalize some mismatching hook function definitions to match base Plugin class
Diffstat (limited to 'classes/auth')
-rw-r--r-- | classes/auth/base.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/auth/base.php b/classes/auth/base.php index 939a9d358..9950cbf07 100644 --- a/classes/auth/base.php +++ b/classes/auth/base.php @@ -8,8 +8,8 @@ abstract class Auth_Base extends Plugin implements IAuthModule { $this->pdo = Db::pdo(); } - function hook_auth_user(...$args) { - return $this->authenticate(...$args); + function hook_auth_user($login, $password, $service = '') { + return $this->authenticate($login, $password, $service); } // Auto-creates specified user if allowed by system configuration |