]> git.wh0rd.org Git - tt-rss.git/commitdiff
allow logging in with a different user instead of one supplied by remote authenticati...
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 29 Mar 2011 11:50:28 +0000 (15:50 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 29 Mar 2011 11:50:28 +0000 (15:50 +0400)
functions.php

index d1e7addb031daee66d1c27a6900b40c86202d08e..f652cfe39037b9727db5dcc0084f7c8b6f15444d 100644 (file)
 
                        $remote_user = get_remote_user($link);
 
-                       if ($remote_user && $login != "admin") {
+                       if ($remote_user && $remote_user == $login && $login != "admin") {
 
                                $login = $remote_user;