diff --git a/CHANGELOG.md b/CHANGELOG.md index f61b561..8d69c7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# v3.7.3 +## 02/17/2023 + +1. [](#bugfix) + * Fixed an issue where user was not being redirected to the correct page after login + # v3.7.2 ## 01/02/2023 diff --git a/blueprints.yaml b/blueprints.yaml index ab7cc36..3a3ae2a 100644 --- a/blueprints.yaml +++ b/blueprints.yaml @@ -1,7 +1,7 @@ name: Login slug: login type: plugin -version: 3.7.2 +version: 3.7.3 testing: false description: Enables user authentication and login screen. icon: sign-in diff --git a/login.php b/login.php index da908fa..54a6d74 100755 --- a/login.php +++ b/login.php @@ -337,7 +337,7 @@ public function storeReferrerPage(): void if ($page) { $header = $page->header(); - $allowed = ($header->login_redirect_here ?? true) === false; + $allowed = ($header->login_redirect_here ?? true) === true; if ($allowed && $page->routable()) { $redirect = $page->route(); foreach ($uri->params(null, true) as $key => $value) {