1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-20 23:21:30 +00:00

allow logging in with a different user instead of one supplied by remote authentication/SSL cert

This commit is contained in:
Andrew Dolgov
2011-03-29 15:50:28 +04:00
parent c3ad0b7512
commit c9b63492fa

View File

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