1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/9687] Add ip banning support incl. CIDR support

PHPBB3-9687
This commit is contained in:
Marc Alexander
2023-07-04 21:21:54 +02:00
parent d99968a800
commit ec4a53169a
3 changed files with 107 additions and 0 deletions

View File

@@ -27,6 +27,16 @@ services:
tags:
- { name: ban.type }
ban.type.ip:
class: \phpbb\ban\type\ip
arguments:
- '@dbal.conn'
- '%tables.users%'
- '%tables.sessions%'
- '%tables.sessions_keys%'
tags:
- { name: ban.type }
ban.type.user:
class: \phpbb\ban\type\user
arguments: