Skip to content

Commit 07c11b8

Browse files
committed
backend: increase refresh token lifetime to 2 Months
1 parent 159af14 commit 07c11b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/routes/auth/login.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ use crate::{
4040
};
4141

4242
pub const MAX_TOKEN_AGE_MINUTES: i64 = 6;
43-
const MAX_REFRESH_TOKEN_AGE_DAYS: i64 = 30;
43+
const MAX_REFRESH_TOKEN_AGE_DAYS: i64 = 60;
4444

4545
#[derive(Serialize, Deserialize, Clone, Debug, Validate, ToSchema)]
4646
pub struct LoginSchema {

0 commit comments

Comments
 (0)