fix auth_remote broken by previous commit

This commit is contained in:
Andrew Dolgov 2021-01-05 18:55:05 +03:00
parent 8a34084df1
commit dc40f69511
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}