Skip to content

Commit

Permalink
Merge pull request #712 from localgovdrupal/3.x
Browse files Browse the repository at this point in the history
3.0.5 release
  • Loading branch information
finnlewis committed May 21, 2024
2 parents ccae132 + 734c0af commit f8d64ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"require": {
"drupal/admin_toolbar": "^3.0",
"drupal/content_lock": "^2.3",
"drupal/content_lock": "^2.4",
"drupal/core": "^10.0",
"drupal/gin": "^3.0@alpha",
"drupal/gin_login": "^2.0.3",
Expand Down Expand Up @@ -57,9 +57,6 @@
"drupal/core": "-p2"
},
"patches": {
"drupal/content_lock": {
"Fix PHP 8.2 deprecation notices": "https://www.drupal.org/files/issues/2023-05-22/3343964-5.patch"
},
"drupal/core": {
"Users can't reference unpublished content even when they have access to it. See https://www.drupal.org/project/drupal/issues/2845144": "https://www.drupal.org/files/issues/2024-02-13/2845144-87.patch"
}
Expand Down
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 f8d64ef

Please sign in to comment.