Fallback
This commit is contained in:
@@ -13,8 +13,8 @@ export function shouldRequestEmailConfirmation(account: SessionAccount) {
|
|||||||
if (isOnboardingActive()) return false
|
if (isOnboardingActive()) return false
|
||||||
|
|
||||||
const stored = persisted.get('reminders').lastEmailConfirm
|
const stored = persisted.get('reminders').lastEmailConfirm
|
||||||
const today = toSimpleDateString(new Date())
|
|
||||||
const snoozedAt = stored ? toSimpleDateString(new Date(stored)) : undefined
|
const snoozedAt = stored ? toSimpleDateString(new Date(stored)) : undefined
|
||||||
|
const today = toSimpleDateString(new Date())
|
||||||
|
|
||||||
logger.debug('Checking email confirmation reminder', {
|
logger.debug('Checking email confirmation reminder', {
|
||||||
today,
|
today,
|
||||||
@@ -38,6 +38,8 @@ export function shouldRequestEmailConfirmation(account: SessionAccount) {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// should never happen
|
||||||
|
snooze()
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user