24 hour expire is too aggressive

This commit is contained in:
Wavering Ana 2025-02-03 01:12:06 -05:00 committed by GitHub
parent 454ae0017e
commit 113ef1c2e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,7 +87,7 @@ impl Claims {
.duration_since(UNIX_EPOCH)
.unwrap()
.as_secs() as usize
+ 24 * 60 * 60; // 24 hours from now
+ 14 * 24 * 60 * 60; // 2 weeks from now
Self { sub: user_id, exp }
}