diff --git a/raddb/policy.d/eap b/raddb/policy.d/eap index 4c2978624eabc..31faa8d4d0e15 100644 --- a/raddb/policy.d/eap +++ b/raddb/policy.d/eap @@ -1,43 +1,3 @@ -# -# Response caching to handle proxy failovers -# -Xeap.authorize { - cache_eap - if (ok) { - # - # Expire previous cache entry - # - if (&control.State) { - &control.Cache-TTL := 0 - - cache_eap - - &control -= &State[*] - } - - handled - } - else { - eap.authorize - } -} - -# -# Populate cache with responses from the EAP module -# -Xeap.authenticate { - eap { - handled = 1 - } - if (handled) { - cache_eap.authorize - - handled - } - - cache_eap.authorize -} - # # Forbid all EAP types. Enable this by putting "forbid_eap" # into the "recv Access-Request" section.