Compare commits

...

4 Commits

Author SHA1 Message Date
Hailey 13061f9798 oops 2024-11-16 11:15:33 -08:00
Hailey d170875e20 use correct date 2024-11-16 10:37:40 -08:00
Hailey f6cecb4d96 temp for build 2024-11-16 10:04:23 -08:00
Hailey 4c49c0cf09 tweak 2024-11-16 10:03:26 -08:00
+3 -2
View File
@@ -12,9 +12,10 @@ export function useEmail() {
const checkEmailConfirmed = !!serviceConfig?.checkEmailConfirmed
// Date set for 11 AM PST on the 18th of November
const isNewEnough =
!!profile?.createdAt &&
Date.parse(profile.createdAt) >= Date.parse('2024-11-16T02:00:00.000Z')
Date.parse(profile.createdAt) >= Date.parse('2024-11-18T19:00:00.000Z')
const isSelfHost =
currentAccount &&
@@ -24,7 +25,7 @@ export function useEmail() {
const needsEmailVerification =
!isSelfHost &&
checkEmailConfirmed &&
!!currentAccount?.emailConfirmed &&
!currentAccount?.emailConfirmed &&
isNewEnough
return {needsEmailVerification}