aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jb/api/magic_token.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jb/api/magic_token.py b/jb/api/magic_token.py
index b60d5e9..dc05686 100644
--- a/jb/api/magic_token.py
+++ b/jb/api/magic_token.py
@@ -9,7 +9,7 @@ from jb.models.auth import AmtAccountLink
MAGIC_TOKEN_PREFIX = "auth:magic:"
AMT_ACCOUNT_LINK_TOKEN_PREFIX = "auth:amt-account-link:"
-MAGIC_TOKEN_TTL: int = 10 * 60 # 10 minutes, in seconds
+MAGIC_TOKEN_TTL: int = 3 * 60 * 60 # 3hrs, in seconds
def redis_token_key(token: str, prefix: str = MAGIC_TOKEN_PREFIX) -> str: