From 73c259d55c7e1ecc85d7a2e1a42f4623d4d186c6 Mon Sep 17 00:00:00 2001 From: Jessica Lawshe <5312836+lawshe@users.noreply.github.com> Date: Wed, 8 Apr 2026 10:39:12 -0500 Subject: [PATCH] Merge pull request #31979 from overleaf/kc-verify-domain-ownership Add domain verification handling GitOrigin-RevId: 97e53b93f8e2fa430637fde7d3187a5c54c850d6 --- services/web/app/src/models/DomainVerification.mjs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/services/web/app/src/models/DomainVerification.mjs b/services/web/app/src/models/DomainVerification.mjs index ca84561b23..697110b560 100644 --- a/services/web/app/src/models/DomainVerification.mjs +++ b/services/web/app/src/models/DomainVerification.mjs @@ -20,6 +20,11 @@ export const DomainVerificationSchema = new Schema( verificationAttemptCount: { type: Number, default: 0 }, groupId: Schema.Types.ObjectId, lastVerificationAttemptAt: Date, + lastFailureReason: { + type: String, + enum: ['no_record', 'wrong_token', 'dns_error'], + default: null, + }, }, { collection: 'domainVerifications',