1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-02 16:39:15 +00:00

normalize some mismatching hook function definitions to match base Plugin class

This commit is contained in:
Andrew Dolgov
2021-11-14 11:11:49 +03:00
parent 81a10f69bc
commit 0a2dcacbcf
7 changed files with 33 additions and 16 deletions

View File

@@ -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) {