diff options
author | Andrew Dolgov <[email protected]> | 2021-01-05 18:55:05 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-01-05 18:55:05 +0300 |
commit | dc40f695119996c0ce7f479eb0903f0994408800 (patch) | |
tree | 156a0a5b27feb4353d371a8c2ef62a1beedf9b49 | |
parent | 8a34084df101a8511b4be4adc4c489baae3bcfce (diff) |
fix auth_remote broken by previous commit
-rw-r--r-- | plugins/auth_remote/init.php | 2 |
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; } } |