fix: 立即开始只在当月有效,密码被拒后不再重试
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user