summaryrefslogtreecommitdiff
path: root/classes/auth
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-11-14 11:11:49 +0300
committerAndrew Dolgov <[email protected]>2021-11-14 11:11:49 +0300
commit0a2dcacbcf01e1ebb225570fb99811c4215c6ea9 (patch)
tree8ffae105e37718ecbd8a0de723ee95b68fb893c7 /classes/auth
parent81a10f69bcc38b62aad79f9be716adcf4ed49d2d (diff)
normalize some mismatching hook function definitions to match base Plugin class
Diffstat (limited to 'classes/auth')
-rw-r--r--classes/auth/base.php4
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