fix: 立即开始只在当月有效,密码被拒后不再重试

This commit is contained in:
2026-11-16 02:47:43 +08:00
parent 2ef51591c1
commit 72d2d660b8
3 changed files with 26 additions and 6 deletions
+2
View File
@@ -433,6 +433,8 @@ def _refresh_one(employee_id: str, attempts: int, client_factory) -> None:
account = db.get(Account, employee_id)
if account is None or account.refresh_paused or not account.credential_cipher:
return
if account.credential_valid is False:
return
client = None
valid = False
checked_alive = False