summaryrefslogtreecommitdiff
path: root/plugins/auth_remote/init.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/auth_remote/init.php')
-rw-r--r--plugins/auth_remote/init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/auth_remote/init.php b/plugins/auth_remote/init.php
index 343758b60..8e364f334 100644
--- a/plugins/auth_remote/init.php
+++ b/plugins/auth_remote/init.php
@@ -45,7 +45,7 @@ class Auth_Remote extends Plugin implements IAuthModule {
foreach (["REMOTE_USER", "HTTP_REMOTE_USER", "REDIRECT_REMOTE_USER", "PHP_AUTH_USER"] as $hdr) {
if (isset($_SERVER[$hdr])) {
- $try_login = $_SERVER["hdr"];
+ $try_login = $_SERVER[$hdr];
break;
}
}