Merge pull request 'fix: lower-case remote usernames before validation' (#75) from disconn3ct/tt-rss:fix/auth-remote into master

Reviewed-on: https://dev.tt-rss.org/fox/tt-rss/pulls/75
This commit is contained in:
fox 2022-07-08 17:44:06 +03:00
commit f8fe5e02f1
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class Auth_Remote extends Auth_Base {
foreach (["REMOTE_USER", "HTTP_REMOTE_USER", "REDIRECT_REMOTE_USER", "PHP_AUTH_USER"] as $hdr) {
if (!empty($_SERVER[$hdr])) {
$try_login = $_SERVER[$hdr];
$try_login = strtolower($_SERVER[$hdr]);
break;
}
}