From 2a79198d694a9825637d397215059560e3b09f13 Mon Sep 17 00:00:00 2001 From: Max Nanis Date: Mon, 14 Sep 2026 11:10:14 -0700 Subject: magic link for 3hrs for now --- jb/api/magic_token.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jb') 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: -- cgit v1.2.3