diff --git a/modules/ubercart/uc_cart/src/Controller/CheckoutController.php b/modules/ubercart/uc_cart/src/Controller/CheckoutController.php index 6f8f3d0..8667474 100644 --- a/modules/ubercart/uc_cart/src/Controller/CheckoutController.php +++ b/modules/ubercart/uc_cart/src/Controller/CheckoutController.php @@ -82,7 +82,7 @@ public function checkout() { if ($this->config('user.settings')->get('register') != USER_REGISTER_ADMINISTRATORS_ONLY) { drupal_set_message($this->t('If you do not have an account yet, you should register now.', [':url' => Url::fromRoute('user.register', [], ['query' => drupal_get_destination()])->toString()])); } - return $this->redirect('user.page', [], ['query' => drupal_get_destination()]); + return $this->redirect('user.login', [], ['query' => drupal_get_destination()]); } // Load an order from the session, if available.