Skip to content

Commit 53c0290

Browse files
committed
test(plugin-auth): allowed IP ranges reader handles an absent list
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q4EjjQkY5yXZrN9BEA3rEK
1 parent ad28f6e commit 53c0290

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/plugins/plugin-auth/src/auth-settings-live-status.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ describe('Setup → Authentication reads every declared auth key as it runs', ()
390390
session_idle_timeout_minutes: floor.sessionIdleTimeoutMinutes,
391391
session_absolute_max_hours: floor.sessionAbsoluteMaxHours,
392392
max_concurrent_sessions_per_user: floor.maxConcurrentSessions,
393-
allowed_ip_ranges: floor.allowedIpRanges.join('\n'),
393+
allowed_ip_ranges: (floor.allowedIpRanges ?? []).join('\n'),
394394
lockout_threshold: config.lockoutThreshold,
395395
lockout_duration_minutes: config.lockoutDurationMinutes,
396396
audience_posture: audience.posture,

0 commit comments

Comments
 (0)