feat: Implement Codex proxy configuration page with CRUD and testing capabilities, supported by new backend API and services for error handling, team processing, mail, and ChatGPT registration.
This commit is contained in:
@@ -344,9 +344,9 @@ func APIRegister(email, password, realName, birthdate, proxy string, logPrefix s
|
||||
return nil, fmt.Errorf("发送验证邮件失败: %v", err)
|
||||
}
|
||||
|
||||
// 获取验证码 (带超时 90s) - 合并日志,使用 Status 显示等待状态
|
||||
// 获取验证码 (带超时 60s) - 合并日志,使用 Status 显示等待状态
|
||||
logger.Status(fmt.Sprintf("%s 验证邮箱中...", logPrefix), email, "register")
|
||||
otpCode, err := mail.GetVerificationCode(email, 90*time.Second)
|
||||
otpCode, err := mail.GetVerificationCode(email, 60*time.Second)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user