We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da94c65 commit b788c47Copy full SHA for b788c47
CHANGELOG.md
@@ -1,5 +1,9 @@
1
# Changelog
2
3
+## 1.9.1 - 05-08-2024
4
+
5
+- Fix bad token expiration check
6
7
## 1.9.0 - 30-07-2024
8
9
- Remove optional "email" argument from ListUsers, since the handler ignores it.
src/usercloudssdk/token.py
@@ -30,4 +30,4 @@ def is_token_expiring(token: str | None) -> bool:
30
expiration_time = decoded_token.get("exp")
31
if not expiration_time:
32
return True
33
- return expiration_time > time.time()
+ return expiration_time < time.time()
0 commit comments