feat: 增加最大提交尝试次数至7
This commit is contained in:
@@ -564,7 +564,7 @@
|
|||||||
getLegacyVerificationResendCountDefault(step, { requestFreshCodeFirst })
|
getLegacyVerificationResendCountDefault(step, { requestFreshCodeFirst })
|
||||||
)
|
)
|
||||||
: getConfiguredVerificationResendCount(step, state, { requestFreshCodeFirst });
|
: getConfiguredVerificationResendCount(step, state, { requestFreshCodeFirst });
|
||||||
const maxSubmitAttempts = 3;
|
const maxSubmitAttempts = 7;
|
||||||
const resendIntervalMs = Math.max(0, Number(options.resendIntervalMs) || 0);
|
const resendIntervalMs = Math.max(0, Number(options.resendIntervalMs) || 0);
|
||||||
let lastResendAt = Number(options.lastResendAt) || 0;
|
let lastResendAt = Number(options.lastResendAt) || 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user