Merge pull request #34841 from overleaf/kc-grace-period-failedat-anchor

[web] Anchor domain-capture grace period on failedAt

GitOrigin-RevId: 5a31e5189512b22952c387722c7ad67f5c6397e3
This commit is contained in:
Kate Crichton
2026-06-26 08:06:57 +00:00
committed by Copybot
parent bbf5586935
commit 907f5a969a
@@ -20,6 +20,7 @@ export const DomainVerificationSchema = new Schema(
verificationAttemptCount: { type: Number, default: 0 },
groupId: Schema.Types.ObjectId,
lastVerificationAttemptAt: Date,
failedAt: Date,
lastFailureReason: {
type: String,
enum: ['no_record', 'wrong_token', 'dns_error'],