diff options
author | fox <[email protected]> | 2020-12-22 04:58:53 +0000 |
---|---|---|
committer | Gogs <[email protected]> | 2020-12-22 04:58:53 +0000 |
commit | d4666d30d2a3fece09e2aa56731f440d6b127941 (patch) | |
tree | a5b6ae796b50f27305917a3f78e7940ee814d1b0 /plugins/auth_remote | |
parent | 6da576dbe4dd933cc385569fbaab234cae21efff (diff) | |
parent | 564a24fd7811ea4e4bebe68f5e3b4ed3828b5330 (diff) |
Merge branch 'master' of Tony/tt-rss into master
Diffstat (limited to 'plugins/auth_remote')
-rw-r--r-- | plugins/auth_remote/init.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/auth_remote/init.php b/plugins/auth_remote/init.php index bad1af65e..d2e7a35e6 100644 --- a/plugins/auth_remote/init.php +++ b/plugins/auth_remote/init.php @@ -42,6 +42,7 @@ class Auth_Remote extends Plugin implements IAuthModule { */ function authenticate($login, $password) { $try_login = $_SERVER["REMOTE_USER"]; + if (!$try_login) $try_login = $_SERVER["HTTP_REMOTE_USER"]; // php-cgi if (!$try_login) $try_login = $_SERVER["REDIRECT_REMOTE_USER"]; |