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
1 changed files with 1 additions and 1 deletions

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;