mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #31979 from overleaf/kc-verify-domain-ownership
Add domain verification handling GitOrigin-RevId: 97e53b93f8e2fa430637fde7d3187a5c54c850d6
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user