diff options
Diffstat (limited to 'plugins/auth_remote/init.php')
-rw-r--r-- | plugins/auth_remote/init.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/auth_remote/init.php b/plugins/auth_remote/init.php index b240a9402..9c15d3368 100644 --- a/plugins/auth_remote/init.php +++ b/plugins/auth_remote/init.php @@ -12,7 +12,7 @@ class Auth_Remote extends Auth_Base { $host->add_hook($host::HOOK_AUTH_USER, $this); } - function get_login_by_ssl_certificate() { + function get_login_by_ssl_certificate() : string { $cert_serial = Pref_Prefs::_get_ssl_certificate_id(); if ($cert_serial) { @@ -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) { |