Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
luke- committed Nov 23, 2023
1 parent 0a91ec6 commit c81315a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion authclient/JWT.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Changelog
=========

1.1.2 (November 23, 2023)
1.1.3 (November 23, 2023)
-------------------------

- Enh: Fixed Login Issue with `JWTPrimary` AuthClient
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"sso",
"login"
],
"version": "1.1.2",
"version": "1.1.3",
"humhub": {
"minVersion": "1.14"
},
Expand Down

0 comments on commit c81315a

Please sign in to comment.