diff --git a/core/core.services.yml b/core/core.services.yml index e1f029c0cb..c52dab33ee 100644 --- a/core/core.services.yml +++ b/core/core.services.yml @@ -1456,7 +1456,7 @@ services: class: Drupal\Core\Authentication\Anon arguments: [] tags: - - { name: authentication_provider, provider_id: 'anon', priority: 0, global: TRUE } + - { name: authentication_provider, provider_id: 'anon', priority: -100, global: TRUE } authentication_subscriber: class: Drupal\Core\EventSubscriber\AuthenticationSubscriber arguments: ['@authentication', '@current_user']