mirror of https://github.com/kortix-ai/suna.git
Update mfa.ts
This commit is contained in:
parent
fc47e89da8
commit
80ce8e8a78
|
@ -15,7 +15,7 @@ import type {
|
|||
// Cutoff date for new user phone verification requirement
|
||||
// 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
|
||||
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 {
|
||||
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}`);
|
||||
}
|
||||
},
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue