Skip to content

Commit de1d7e9

Browse files
committed
chore(auth): Normalize totp config
1 parent c32fa39 commit de1d7e9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2676,15 +2676,15 @@ const convictConf = convict({
26762676
},
26772677
step: {
26782678
// The time interval to use. In this case 1 second
2679-
default: 1,
2679+
default: 5 * 60,
26802680
doc: 'Overrides step otp options',
26812681
format: Number,
26822682
env: 'MFA__OTP__STEP',
26832683
},
26842684
window: {
26852685
// Number of steps contained in the window. In this case
26862686
// 5 minutes worth of steps
2687-
default: 5 * 60,
2687+
default: 1,
26882688
doc: 'Overrides window otp options',
26892689
format: Number,
26902690
env: 'MFA__OTP__WINDOW',

0 commit comments

Comments
 (0)