mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 21:31:33 +00:00
allow logging in with a different user instead of one supplied by remote authentication/SSL cert
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user