Skip to content

Commit e5ec35e

Browse files
authored
fix: bot detection test unit test (#1232)
1 parent a769a23 commit e5ec35e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/management/attack-protection.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,8 @@ describe('AttackProtectionManager', () => {
439439
allowlist: ['192.168.1.0/24', '10.0.0.1'],
440440
monitoring_mode_enabled: true,
441441
challenge_password_policy: 'always',
442-
challenge_passwordless_policy: 'high_risk',
443-
challenge_password_reset_policy: 'off',
442+
challenge_passwordless_policy: 'when_risky',
443+
challenge_password_reset_policy: 'never',
444444
};
445445

446446
describe('#getBotDetectionConfig', () => {

0 commit comments

Comments
 (0)