From cb675b86649d347fbfd008fb66a41f7962b689f1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 18 Apr 2024 18:05:28 +0000 Subject: [PATCH] Bump itsdangerous from 2.1.2 to 2.2.0 (#1792) --- core/model/admin.py | 2 +- poetry.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/model/admin.py b/core/model/admin.py index c286cbf053..68b30532f2 100644 --- a/core/model/admin.py +++ b/core/model/admin.py @@ -230,7 +230,7 @@ def remove_role(self, role, library=None): def generate_reset_password_token(self, secret_key: str) -> str: serializer = URLSafeTimedSerializer(secret_key) - return serializer.dumps(self.email, salt=self.password_hashed) # type: ignore[return-value] + return serializer.dumps(self.email, salt=self.password_hashed) @staticmethod def validate_reset_password_token_and_fetch_admin( diff --git a/poetry.lock b/poetry.lock index 149e5a94b5..369f412b69 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1934,13 +1934,13 @@ six = "*" [[package]] name = "itsdangerous" -version = "2.1.2" +version = "2.2.0" description = "Safely pass data to untrusted environments and back." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "itsdangerous-2.1.2-py3-none-any.whl", hash = "sha256:2c2349112351b88699d8d4b6b075022c0808887cb7ad10069318a8b0bc88db44"}, - {file = "itsdangerous-2.1.2.tar.gz", hash = "sha256:5dbbc68b317e5e42f327f9021763545dc3fc3bfe22e6deb96aaf1fc38874156a"}, + {file = "itsdangerous-2.2.0-py3-none-any.whl", hash = "sha256:c6242fc49e35958c8b15141343aa660db5fc54d4f13a1db01a3f5891b98700ef"}, + {file = "itsdangerous-2.2.0.tar.gz", hash = "sha256:e0050c0b7da1eea53ffaf149c0cfbb5c6e2e2b69c4bef22c81fa6eb73e5f6173"}, ] [[package]]