-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OPENEUROPA-1837: Replace CAS references with EU Login. #71
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@imanoleguskiza What you did looks good. But let's go a bit further and replace "CAS" instances with "EU Login". See screenshot:
My bad, I just followed the items in the ticket and failed to double check other instances. |
f7bbe78
to
bbd8e30
Compare
oe_authentication.module
Outdated
function oe_authentication_form_bulk_add_cas_users_alter(&$form, &$form_state, $form_id) { | ||
|
||
if (isset($form['intro']['#markup'])) { | ||
$form['intro']['#markup'] = t("Use this form to pre-register one or more users, allowing them to log in using EU Login."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Single quotes everywhere.
src/Routing/RouteSubscriber.php
Outdated
@@ -47,6 +47,14 @@ protected function alterRoutes(RouteCollection $collection): void { | |||
'_controller' => '\Drupal\oe_authentication\Controller\ProxyCallbackController::callback', | |||
]); | |||
} | |||
|
|||
// Replace default cas login route with eulogin one. | |||
$route = $collection->get('cas.login'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's check if these routes exist before changing them.
OPENEUROPA-1837
Description
Replace CAS references with EU Login.
Change log
Commands