Skip to content

Commit

Permalink
Issue #83: QA remark: Explain why router rebuild is needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiu-cristea committed Jun 5, 2019
1 parent 2402e8b commit 7b7f2e4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Event/UserRegisterRouteRedirectConfigSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@ public static function getSubscribedEvents(): array {
}

/**
* Acts when oe_authentication.settings:redirect_user_register_route changes.
* Rebuilds route table on changing the user registration redirection.
*
* We need to rebuild the route table when an administrator changes the option
* to redirect the user registration form to EU Login. In normal operations
* the route table is only updated when the cache is being rebuilt, but the
* administrator expects this to take effect instantly.
*
* @param \Drupal\Core\Config\ConfigCrudEvent $event
* The config CRUD event.
Expand Down

0 comments on commit 7b7f2e4

Please sign in to comment.