Skip to content

Commit 99b86c1

Browse files
authored
Merge pull request #19950 from mozilla/FXA-12762
chore(auth): Normalize totp config
2 parents 44a0fb3 + de1d7e9 commit 99b86c1

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
@@ -2699,15 +2699,15 @@ const convictConf = convict({
26992699
},
27002700
step: {
27012701
// The time interval to use. In this case 1 second
2702-
default: 1,
2702+
default: 5 * 60,
27032703
doc: 'Overrides step otp options',
27042704
format: Number,
27052705
env: 'MFA__OTP__STEP',
27062706
},
27072707
window: {
27082708
// Number of steps contained in the window. In this case
27092709
// 5 minutes worth of steps
2710-
default: 5 * 60,
2710+
default: 1,
27112711
doc: 'Overrides window otp options',
27122712
format: Number,
27132713
env: 'MFA__OTP__WINDOW',

0 commit comments

Comments
 (0)