summaryrefslogtreecommitdiff
path: root/plugins/auth_remote
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-01-05 18:55:05 +0300
committerAndrew Dolgov <[email protected]>2021-01-05 18:55:05 +0300
commitdc40f695119996c0ce7f479eb0903f0994408800 (patch)
tree156a0a5b27feb4353d371a8c2ef62a1beedf9b49 /plugins/auth_remote
parent8a34084df101a8511b4be4adc4c489baae3bcfce (diff)
fix auth_remote broken by previous commit
Diffstat (limited to 'plugins/auth_remote')
-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;
}
}