mirror of
https://github.com/cnlimiter/codex-register.git
synced 2026-05-13 09:00:43 +08:00
fix(register): Outlook 跳过发验证码时补充 otp_sent_at 时间戳
跳过 _send_verification_code() 时未设置 _otp_sent_at,导致轮询时 since_minutes=None 只搜 UNSEEN 邮件,已读邮件被忽略。补充时间戳后走 SINCE 时间范围搜索,避免漏检
This commit is contained in:
@@ -796,6 +796,7 @@ class RegistrationEngine:
|
||||
return result
|
||||
else:
|
||||
self._log("9. Outlook 邮箱,跳过发送验证码环节")
|
||||
self._otp_sent_at = time.time() # 记录时间戳,供后续按时间范围搜索邮件
|
||||
|
||||
# 10. 获取验证码
|
||||
self._log("10. 等待验证码...")
|
||||
|
||||
Reference in New Issue
Block a user