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:
commit
f8fe5e02f1
|
@ -45,7 +45,7 @@ class Auth_Remote extends Auth_Base {
|
||||||
|
|
||||||
foreach (["REMOTE_USER", "HTTP_REMOTE_USER", "REDIRECT_REMOTE_USER", "PHP_AUTH_USER"] as $hdr) {
|
foreach (["REMOTE_USER", "HTTP_REMOTE_USER", "REDIRECT_REMOTE_USER", "PHP_AUTH_USER"] as $hdr) {
|
||||||
if (!empty($_SERVER[$hdr])) {
|
if (!empty($_SERVER[$hdr])) {
|
||||||
$try_login = $_SERVER[$hdr];
|
$try_login = strtolower($_SERVER[$hdr]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue