1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 02:35:54 +00:00

Merge branch 'master' of git.fakecake.org:tt-rss

This commit is contained in:
Andrew Dolgov
2020-12-23 12:09:45 +03:00

View File

@@ -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"];