summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-12-23 12:09:45 +0300
committerAndrew Dolgov <[email protected]>2020-12-23 12:09:45 +0300
commit8de2100cf7dde10ebb8d691ddb6bb8c9dfa05514 (patch)
tree3986582fc02832bbfd88d33ea7cf5016c493e405
parent57f36f3f971a0b6eaf13d06acc11cc49e9d95252 (diff)
parentd4666d30d2a3fece09e2aa56731f440d6b127941 (diff)
Merge branch 'master' of git.fakecake.org:tt-rss
-rw-r--r--plugins/auth_remote/init.php1
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"];