diff --git a/src/auth/jwt.rs b/src/auth/jwt.rs index b02f304..d5d2389 100755 --- a/src/auth/jwt.rs +++ b/src/auth/jwt.rs @@ -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,