summaryrefslogtreecommitdiff
path: root/classes/auth
diff options
context:
space:
mode:
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