inspiredminds / contao-ip-login
Contao extension to allow automatic IP based front end login.
Fund package maintenance!
fritzmg
Installs: 489
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 5
Forks: 1
Open Issues: 0
Type:contao-bundle
Requires
- php: >=8.1
- contao/core-bundle: ^5.0
- symfony/config: ^5.4 || ^6.4 || ^7.1
- symfony/dependency-injection: ^5.4 || ^6.4 || ^7.1
- symfony/expression-language: ^5.4 || ^6.4 || ^7.1
- symfony/http-foundation: ^5.4 || ^6.4 || ^7.1
- symfony/http-kernel: ^5.4 || ^6.4 || ^7.1
- symfony/security-core: ^5.4 || ^6.4 || ^7.1
- symfony/security-http: ^5.4 || ^6.4 || ^7.1
Requires (Dev)
- contao/easy-coding-standard: ^6.0
- contao/rector: ^1.0
This package is auto-updated.
Last update: 2024-11-20 13:47:01 UTC
README
Contao IP Login
Contao extension to allow front end members to be automatically logged in by IP. An Allow IP based auto login and Allowed IPs setting is provided for members in the back end. The Allowed IPs setting offers a set of IPs or Subnets which are configured via the bundle configuration:
# config/config.yml contao_ip_login: # All allowed IPs allowed_ips: - '239.27.9.125' - '245.107.230.190' - '46.78.101.0/24' - 'c43c:2fa4:3833:b00a:4270:3a4a:3:69e7' - '85ca:d480:ef8f:f834:d788:6ce2:d031:4e1' - '7d45:d6aa:48fd:e386:1b23:e502:f9db:913b' # These paths are ignored from the automatic IP based login ignored_paths: - '/login$' - '/logout$' # Additional conditions on the request can be set request_condition: "'GET' === request.getMethod() && !request.isXmlHttpRequest()"