@@ -195,7 +195,7 @@ module.exports = function (fs, path, url, convict) {
195
195
} ,
196
196
passwordResetOtpRateLimitIntervalSeconds : {
197
197
doc : 'Number of seconds to wait until password reset OTP requests are allowed again' ,
198
- default : 1800 ,
198
+ default : 15 * 60 ,
199
199
format : 'nat' ,
200
200
env : 'PASSWORD_RESET_OTP_EMAIL_RATE_LIMIT_SECONDS' ,
201
201
} ,
@@ -431,7 +431,7 @@ module.exports = function (fs, path, url, convict) {
431
431
max : {
432
432
doc : 'max actions during `period` that can occur before rate limit is applied' ,
433
433
format : 'nat' ,
434
- default : 2 ,
434
+ default : 5 ,
435
435
env : 'TOTP_CODE_RULE_MAX' ,
436
436
} ,
437
437
periodMs : {
@@ -443,7 +443,7 @@ module.exports = function (fs, path, url, convict) {
443
443
rateLimitIntervalMs : {
444
444
doc : 'how long rate limit is applied' ,
445
445
format : 'duration' ,
446
- default : '30 seconds ' ,
446
+ default : '15 minutes ' ,
447
447
env : 'TOTP_CODE_RULE_LIMIT_INTERVAL_MS' ,
448
448
} ,
449
449
} ,
@@ -458,13 +458,13 @@ module.exports = function (fs, path, url, convict) {
458
458
max : {
459
459
doc : 'max actions during `period` that can occur before rate limit is applied' ,
460
460
format : 'nat' ,
461
- default : 10 ,
461
+ default : 5 ,
462
462
env : 'RECOVERY_PHONE_TOTP_CODE_RULE_MAX' ,
463
463
} ,
464
464
periodMs : {
465
465
doc : 'period needed before rate limit is reset' ,
466
466
format : 'duration' ,
467
- default : '15 minutes' ,
467
+ default : '5 minutes' ,
468
468
env : 'RECOVERY_PHONE_TOTP_CODE_RULE_PERIOD_MS' ,
469
469
} ,
470
470
rateLimitIntervalMs : {
0 commit comments