diff --git a/config/auth.php b/config/auth.php index 189babdc0a..1b49d38409 100644 --- a/config/auth.php +++ b/config/auth.php @@ -33,10 +33,11 @@ return [ | */ - 'defaults' => [ + 'defaults' => [ 'guard' => envNonEmpty('AUTHENTICATION_GUARD', 'web'), 'passwords' => 'users', ], + 'guard_header' => envNonEmpty('AUTHENTICATION_GUARD_HEADER', 'REMOTE_USER'), /* |-------------------------------------------------------------------------- diff --git a/config/ldap_auth.php b/config/ldap_auth.php index 2f395c809b..f661236d38 100644 --- a/config/ldap_auth.php +++ b/config/ldap_auth.php @@ -245,9 +245,9 @@ return [ */ 'windows' => [ - 'enabled' => envNonEmpty('WINDOWS_SSO_ENABLED', false), - 'locate_users_by' => envNonEmpty('WINDOWS_SSO_DISCOVER', 'samaccountname'), - 'server_key' => envNonEmpty('WINDOWS_SSO_KEY', 'AUTH_USER'), + 'enabled' => false, + 'locate_users_by' => 'samaccountname', + 'server_key' => 'AUTH_USER', ], ],