summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-03-29 15:50:28 +0400
committerAndrew Dolgov <[email protected]>2011-03-29 15:50:28 +0400
commitc9b63492fa95e96e11e4d487a4c56c8b3aa0962e (patch)
tree64d305455493eb0cf44fce6c87e4720e44a0c2c2 /functions.php
parentc3ad0b7512941eed0ddeee7db1c98f69f4cb20a0 (diff)
allow logging in with a different user instead of one supplied by remote authentication/SSL cert
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
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;