mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:25:59 +00:00
cleanup some defined-stuff
This commit is contained in:
@@ -56,7 +56,7 @@ class Auth_Remote extends Auth_Base {
|
||||
$_SESSION["hide_logout"] = true;
|
||||
|
||||
// LemonLDAP can send user informations via HTTP HEADER
|
||||
if (defined('AUTH_AUTO_CREATE') && AUTH_AUTO_CREATE){
|
||||
if (Config::get(Config::AUTH_AUTO_CREATE)) {
|
||||
// update user name
|
||||
$fullname = isset($_SERVER['HTTP_USER_NAME']) ? $_SERVER['HTTP_USER_NAME'] : ($_SERVER['AUTHENTICATE_CN'] ?? "");
|
||||
if ($fullname){
|
||||
|
||||
Reference in New Issue
Block a user