summaryrefslogtreecommitdiff
path: root/plugins/auth_remote
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 /plugins/auth_remote
parent81a10f69bcc38b62aad79f9be716adcf4ed49d2d (diff)
normalize some mismatching hook function definitions to match base Plugin class
Diffstat (limited to 'plugins/auth_remote')
-rw-r--r--plugins/auth_remote/init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/auth_remote/init.php b/plugins/auth_remote/init.php
index b240a9402..35ee9e31d 100644
--- a/plugins/auth_remote/init.php
+++ b/plugins/auth_remote/init.php
@@ -29,7 +29,7 @@ class Auth_Remote extends Auth_Base {
return "";
}
- function authenticate($login, $password) {
+ function authenticate($login, $password, $service = '') {
$try_login = "";
foreach (["REMOTE_USER", "HTTP_REMOTE_USER", "REDIRECT_REMOTE_USER", "PHP_AUTH_USER"] as $hdr) {