diff --git a/tests/features/eulogin/eulogin.feature b/tests/features/eulogin/eulogin.feature index e1e35fb856e994d3f7558665b542ae9f19acacaf..50ab86317da0a4c5e6ac67081a27e3ff45cb39dd 100644 --- a/tests/features/eulogin/eulogin.feature +++ b/tests/features/eulogin/eulogin.feature @@ -350,7 +350,7 @@ Feature: Log in through EU Login When I fill in "E-mail address" with "joe@example.com" When I fill in "Password" with "123" And I press "Log in" - Then I should see the error message "Registering new accounts to Joinup is temporary disabled. Please come back later." + Then I should see the error message "Registering new accounts to Joinup is temporarily disabled. Please come back later." # Check that the user is not logged in. And I should see the link "Sign in" diff --git a/web/modules/custom/joinup_eulogin/src/Event/Subscriber/JoinupEuLoginCasEventsSubscriber.php b/web/modules/custom/joinup_eulogin/src/Event/Subscriber/JoinupEuLoginCasEventsSubscriber.php index 165dac01c2e72c8ca2a172a923d90fe97241f0f8..30607077002bfb7b5ad36bef61f5ddee1cdbc964 100644 --- a/web/modules/custom/joinup_eulogin/src/Event/Subscriber/JoinupEuLoginCasEventsSubscriber.php +++ b/web/modules/custom/joinup_eulogin/src/Event/Subscriber/JoinupEuLoginCasEventsSubscriber.php @@ -143,7 +143,7 @@ public function prepareAttributes(CasPostValidateEvent $event): void { public function disableRegistration(CasPreRegisterEvent $event): void { if ($this->state->get('joinup_eulogin.registration_disabled', FALSE)) { $event - ->cancelAutomaticRegistration($this->t('Registering new accounts to Joinup is temporary disabled. Please come back later.')) + ->cancelAutomaticRegistration($this->t('Registering new accounts to Joinup is temporarily disabled. Please come back later.')) ->stopPropagation(); } }