Skip to content

Commit

Permalink
Encoding revision
Browse files Browse the repository at this point in the history
  • Loading branch information
na-stewart committed Nov 14, 2024
1 parent dca82d8 commit 7bc2f1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "sanic-security"
version = "1.13.1"
version = "1.13.2"
requires-python = ">=3.8"
dependencies = [
"tortoise-orm>=0.17.0",
Expand Down
1 change: 1 addition & 0 deletions sanic_security/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ def encode(self, response: HTTPResponse) -> None:
"id": self.id,
"date_created": str(self.date_created),
"expiration_date": str(self.expiration_date),
"bearer": self.bearer.id if isinstance(self.bearer, Account) else None,
"ip": self.ip,
},
security_config.SECRET,
Expand Down

0 comments on commit 7bc2f1b

Please sign in to comment.