Update mfa.ts

This commit is contained in:
mykonos-ibiza 2025-07-25 13:01:23 +05:30 committed by GitHub
parent fc47e89da8
commit 80ce8e8a78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ import type {
// Cutoff date for new user phone verification requirement // Cutoff date for new user phone verification requirement
// Users created after this date will be required to have phone verification // Users created after this date will be required to have phone verification
// Users created before this date are grandfathered in and not required to verify // Users created before this date are grandfathered in and not required to verify
const PHONE_VERIFICATION_CUTOFF_DATE = new Date('2025-07-25T00:05:30.000Z'); const PHONE_VERIFICATION_CUTOFF_DATE = new Date('2025-07-25T00:09:30.000Z');
function isPhoneVerificationMandatory(): boolean { function isPhoneVerificationMandatory(): boolean {
const envVal = process.env.NEXT_PUBLIC_PHONE_NUMBER_MANDATORY; const envVal = process.env.NEXT_PUBLIC_PHONE_NUMBER_MANDATORY;
@ -379,4 +379,4 @@ export const supabaseMFAService = {
throw new Error(`Failed to get AAL: ${error.message}`); throw new Error(`Failed to get AAL: ${error.message}`);
} }
}, },
}; };