From 3feaeb7477aac8cff5e4e7dc16c2f19da26a0dd8 Mon Sep 17 00:00:00 2001 From: somini Date: Sun, 4 Feb 2024 20:47:48 +0000 Subject: [PATCH] Update auth.nim Avoid expiring the tokens for now. See: - https://github.com/zedeus/nitter/issues/983#issuecomment-1923046398 - https://github.com/zedeus/nitter/issues/1155#issuecomment-1917167072 Thanks @cmj --- src/auth.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth.nim b/src/auth.nim index b288c50..de1b1d8 100644 --- a/src/auth.nim +++ b/src/auth.nim @@ -202,7 +202,7 @@ proc initAccountPool*(cfg: Config; path: string) = quit 1 let accountsPrePurge = accountPool.len - accountPool.keepItIf(not it.hasExpired) + #accountPool.keepItIf(not it.hasExpired) log "Successfully added ", accountPool.len, " valid accounts." if accountsPrePurge > accountPool.len: