Skip to content

Commit

Permalink
Merge pull request #707 from localgovdrupal/fix/3.x/strict-types
Browse files Browse the repository at this point in the history
fix: strict types support
  • Loading branch information
finnlewis authored May 14, 2024
2 parents a7895ed + 4972315 commit 767b449
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function localgov_login_redirect_user_login(AccountInterface $account) {

// Check user is using a login link.
$current_route = Drupal::routeMatch()->getRouteName();
if (in_array($current_route, ['user.reset', 'user.reset.login'])) {
if (in_array($current_route, ['user.reset', 'user.reset.login'], TRUE)) {
return;
}

Expand Down

0 comments on commit 767b449

Please sign in to comment.