Merge branch 'master' of Tony/tt-rss into master

This commit is contained in:
fox 2020-12-22 04:58:53 +00:00 committed by Gogs
commit d4666d30d2
1 changed files with 1 additions and 0 deletions

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