From: Andrew Dolgov Date: Tue, 29 Mar 2011 11:50:28 +0000 (+0400) Subject: allow logging in with a different user instead of one supplied by remote authenticati... X-Git-Tag: 1.5.3~93 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c9b63492fa95e96e11e4d487a4c56c8b3aa0962e;p=tt-rss.git allow logging in with a different user instead of one supplied by remote authentication/SSL cert --- diff --git a/functions.php b/functions.php index d1e7addb..f652cfe3 100644 --- a/functions.php +++ b/functions.php @@ -1813,7 +1813,7 @@ $remote_user = get_remote_user($link); - if ($remote_user && $login != "admin") { + if ($remote_user && $remote_user == $login && $login != "admin") { $login = $remote_user;