From c81315a8cd065a862f0e17e997f4734978581943 Mon Sep 17 00:00:00 2001 From: Lucas Bartholemy Date: Thu, 23 Nov 2023 09:28:31 +0100 Subject: [PATCH] Fixed typo --- authclient/JWT.php | 3 ++- docs/CHANGELOG.md | 2 +- module.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/authclient/JWT.php b/authclient/JWT.php index 8ec3e08..bdaf338 100644 --- a/authclient/JWT.php +++ b/authclient/JWT.php @@ -157,7 +157,8 @@ protected function defaultTitle() */ protected function autoStoreAuthClient() { - if ($this->getUserByAttributes() !== null) { + $user = $this->getUserByAttributes(); + if ($user !== null) { (new AuthClientUserService($user))->add($this); } } diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 971353b..e099db0 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,7 +1,7 @@ Changelog ========= -1.1.2 (November 23, 2023) +1.1.3 (November 23, 2023) ------------------------- - Enh: Fixed Login Issue with `JWTPrimary` AuthClient diff --git a/module.json b/module.json index ec803bd..1468331 100644 --- a/module.json +++ b/module.json @@ -7,7 +7,7 @@ "sso", "login" ], - "version": "1.1.2", + "version": "1.1.3", "humhub": { "minVersion": "1.14" },