From 66bc8127fefa971d737f66e947226f2692aefe70 Mon Sep 17 00:00:00 2001 From: Claudiu Cristea <clau.cristea@gmail.com> Date: Sun, 4 Dec 2022 15:50:52 +0100 Subject: [PATCH] ISAICP-7477: Some grammar. --- tests/features/eulogin/eulogin.feature | 2 +- .../src/Event/Subscriber/JoinupEuLoginCasEventsSubscriber.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/features/eulogin/eulogin.feature b/tests/features/eulogin/eulogin.feature index e1e35fb856..50ab86317d 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 165dac01c2..3060707700 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(); } } -- GitLab