Skip to content

Commit

Permalink
Merge branch 'release/3.7.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Feb 18, 2023
2 parents 9082500 + 7023a96 commit ce9b209
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion blueprints.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion login.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ce9b209

Please sign in to comment.