From c9b63492fa95e96e11e4d487a4c56c8b3aa0962e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 29 Mar 2011 15:50:28 +0400 Subject: allow logging in with a different user instead of one supplied by remote authentication/SSL cert --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index d1e7addb0..f652cfe39 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; -- cgit v1.2.3