diff --git a/src/AuthenticationManager.php b/src/AuthenticationManager.php index 8c2ff80..a55a1a9 100644 --- a/src/AuthenticationManager.php +++ b/src/AuthenticationManager.php @@ -96,7 +96,7 @@ protected function getOneTimeLoginUrl(UserInterface $account): string // base URL manually. // @todo Remove this workaround once this is fixed in core. // @see https://www.drupal.org/project/drupal/issues/2548095 - 'base_url' => $GLOBALS['base_url'], + 'base_url' => $this->getMinkParameter('base_url'), ] )->toString(); }