From b7dc55e0315fe8cff043de3edda9c40d6f4f6bf5 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 11 Feb 2020 19:05:44 +0100 Subject: [PATCH] publish: 5.5a6 --- pyproject.toml | 2 +- royalnet/backpack/stars/api_login_royalnet.py | 2 +- royalnet/version.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6f229d79..ee52c336 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ [tool.poetry] name = "royalnet" - version = "5.5a5" + version = "5.5a6" description = "A multipurpose bot and web framework" authors = ["Stefano Pigozzi "] license = "AGPL-3.0+" diff --git a/royalnet/backpack/stars/api_login_royalnet.py b/royalnet/backpack/stars/api_login_royalnet.py index 2340d427..32c04d28 100644 --- a/royalnet/backpack/stars/api_login_royalnet.py +++ b/royalnet/backpack/stars/api_login_royalnet.py @@ -26,7 +26,7 @@ class ApiLoginRoyalnetStar(ApiStar): pswd_check = user.test_password(password) if not pswd_check: raise ApiError("Invalid password") - token: Token = TokenT.generate(user=user, expiration_delta=datetime.timedelta(days=7)) + token: Token = TokenT.generate(alchemy=self.alchemy, user=user, expiration_delta=datetime.timedelta(days=7)) session.add(token) await ru.asyncify(session.commit) response = token.json() diff --git a/royalnet/version.py b/royalnet/version.py index 4ebf3c24..3571209e 100644 --- a/royalnet/version.py +++ b/royalnet/version.py @@ -1 +1 @@ -semantic = "5.5a5" +semantic = "5.5a6"