Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
digit-joinup-reference
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ec-europa
digit-joinup-reference
Commits
66bc8127
Commit
66bc8127
authored
2 years ago
by
Claudiu Cristea
Browse files
Options
Downloads
Patches
Plain Diff
ISAICP-7477: Some grammar.
parent
7df04575
No related branches found
Branches containing commit
Tags
v1.88.2
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/features/eulogin/eulogin.feature
+1
-1
1 addition, 1 deletion
tests/features/eulogin/eulogin.feature
web/modules/custom/joinup_eulogin/src/Event/Subscriber/JoinupEuLoginCasEventsSubscriber.php
+1
-1
1 addition, 1 deletion
...src/Event/Subscriber/JoinupEuLoginCasEventsSubscriber.php
with
2 additions
and
2 deletions
tests/features/eulogin/eulogin.feature
+
1
−
1
View file @
66bc8127
...
...
@@ -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 temporar
il
y disabled. Please come back later."
# Check that the user is not logged in.
And
I should see the link
"Sign in"
...
...
This diff is collapsed.
Click to expand it.
web/modules/custom/joinup_eulogin/src/Event/Subscriber/JoinupEuLoginCasEventsSubscriber.php
+
1
−
1
View file @
66bc8127
...
...
@@ -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 temporar
il
y disabled. Please come back later.'
))
->
stopPropagation
();
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment