Removed all unused private functions and imports from BruteForceProtection plug since the feature is currently disabled (Cloudflare handles security). Functions can be restored from git history if feature is re-enabled. Fixed compilation warnings: - unused function track_404_if_needed/2 - unused function maybe_track_404/2 - unused function get_remote_ip/1 - unused function get_fallback_ip/1 - unused function format_remote_ip/1 - unused function check_and_block/2 - unused function block_request/2 - unused function agent_websocket?/1 - unused alias BruteForce - unused import Plug.Conn |
||
|---|---|---|
| .. | ||
| channels | ||
| components | ||
| controllers | ||
| graphql | ||
| helpers | ||
| live | ||
| plugs | ||
| changelog_parser.ex | ||
| endpoint.ex | ||
| gettext.ex | ||
| gettext_helpers.ex | ||
| permissions.ex | ||
| plug_exceptions.ex | ||
| router.ex | ||
| telemetry.ex | ||
| user_auth.ex | ||