Skip to content
Corex

SecuritySettingsController

Corex\Config\Security\SecuritySettingsController · class · Config layer

Persists the Security Center’s login-protection settings (custom login URL, failed-login limiting, threshold/window/lockout, trusted proxies, retention). Cap + nonce gated. Without this route the Security Center controls were display-only and never took effect (FR-076).

__construct(LoginProtectionSettingsStore $store, LoginSlugAvailability $availability)

Section titled “__construct(LoginProtectionSettingsStore $store, LoginSlugAvailability $availability)”

show(WP_REST_Request $request): WP_REST_Response

Section titled “show(WP_REST_Request $request): WP_REST_Response”

save(WP_REST_Request $request): WP_REST_Response

Section titled “save(WP_REST_Request $request): WP_REST_Response”