mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 08:35:55 +00:00
auth_remote: check for PHP_AUTH_USER too
This commit is contained in:
@@ -40,6 +40,7 @@ class Auth_Remote extends Plugin implements IAuthModule {
|
|||||||
|
|
||||||
// php-cgi
|
// php-cgi
|
||||||
if (!$try_login) $try_login = db_escape_string($_SERVER["REDIRECT_REMOTE_USER"]);
|
if (!$try_login) $try_login = db_escape_string($_SERVER["REDIRECT_REMOTE_USER"]);
|
||||||
|
if (!$try_login) $try_login = db_escape_string($_SERVER["PHP_AUTH_USER"]);
|
||||||
|
|
||||||
if (!$try_login) $try_login = $this->get_login_by_ssl_certificate();
|
if (!$try_login) $try_login = $this->get_login_by_ssl_certificate();
|
||||||
# if (!$try_login) $try_login = "test_qqq";
|
# if (!$try_login) $try_login = "test_qqq";
|
||||||
|
|||||||
Reference in New Issue
Block a user