diff --git a/CHANGELOG.md b/CHANGELOG.md index c9fb598..c54b9ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# v3.5.1 +## 08/31/2021 + +1. [](#bugfix) + * Fixed white-page during new install with admin + # v3.5.0 ## 08/31/2021 diff --git a/blueprints.yaml b/blueprints.yaml index eaeb2dc..6b1b98e 100644 --- a/blueprints.yaml +++ b/blueprints.yaml @@ -1,7 +1,7 @@ name: Login slug: login type: plugin -version: 3.5.0 +version: 3.5.1 testing: false description: Enables user authentication and login screen. icon: sign-in diff --git a/login.php b/login.php index 9ee6f8a..55faa28 100755 --- a/login.php +++ b/login.php @@ -495,6 +495,10 @@ public function authorizeFallBackUrl(): void */ public function authorizeLoginPage(Event $event): void { + if ($this->isAdmin()) { + return; + } + $page = $event['page']; if (!$page instanceof PageInterface) { return;