increase token lifetime to one month

This commit is contained in:
2026-06-12 19:34:08 +02:00
parent b457b8abaa
commit e9580037ef
+1 -1
View File
@@ -13,7 +13,7 @@ use serde::{Deserialize, Serialize};
use sha2::Sha256;
/// How long a freshly issued token remains valid for.
const TOKEN_LIFETIME_HOURS: i64 = 24;
const TOKEN_LIFETIME_HOURS: i64 = 730;
pub struct JwtToken {
pub user_id: i32,