summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
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;