Skip to content

Commit b2155ec

Browse files
committed
chore(auth): Remove skipConfirmationForEmailAddresses config
Because: - We added the new skipConfirmationForEmailRegex - And we don't want multiple ways to manage skipping sign in confirmation emails This Commit: - Removes the older config - Removes associated tests Closes: FXA-13360
1 parent d82cf8c commit b2155ec

4 files changed

Lines changed: 180 additions & 281 deletions

File tree

packages/fxa-auth-server/config/index.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1687,14 +1687,8 @@ const convictConf = convict({
16871687
default: /.+@mozilla\.com$/,
16881688
env: 'SIGNIN_CONFIRMATION_FORCE_EMAIL_REGEX',
16891689
},
1690-
skipForEmailAddresses: {
1691-
doc: 'Comma separated list of email addresses that will always skip any non TOTP sign-in confirmation',
1692-
format: Array,
1693-
default: [],
1694-
env: 'SIGNIN_CONFIRMATION_SKIP_FOR_EMAIL_ADDRESS',
1695-
},
16961690
skipForEmailRegex: {
1697-
doc: 'Regex pattern for email addresses that will always skip any non-TOTP sign-in confirmation. Checked in addition to skipForEmailAddresses.',
1691+
doc: 'Regex pattern for email addresses that will always skip any non-TOTP sign-in confirmation.',
16981692
format: RegExp,
16991693
default: /^$/,
17001694
env: 'SIGNIN_CONFIRMATION_SKIP_FOR_EMAIL_REGEX',

0 commit comments

Comments
 (0)