From c5e59097a26b5b30c5aa97546668fa07bda92e91 Mon Sep 17 00:00:00 2001 From: Aleksandr Klimenkov Date: Sun, 8 Mar 2020 23:16:34 +0300 Subject: [PATCH] recipie for anyx/login-gate-bundle --- .../login-gate-bundle/1.0/config/packages/login_gate.yaml | 7 +++++++ anyx/login-gate-bundle/1.0/manifest.json | 8 ++++++++ 2 files changed, 15 insertions(+) create mode 100644 anyx/login-gate-bundle/1.0/config/packages/login_gate.yaml create mode 100644 anyx/login-gate-bundle/1.0/manifest.json diff --git a/anyx/login-gate-bundle/1.0/config/packages/login_gate.yaml b/anyx/login-gate-bundle/1.0/config/packages/login_gate.yaml new file mode 100644 index 00000000..b19a34e3 --- /dev/null +++ b/anyx/login-gate-bundle/1.0/config/packages/login_gate.yaml @@ -0,0 +1,7 @@ +login_gate: + storages: ['session'] # Attempts storage engine. Available engines: ['orm', 'session', 'mongodb'] + options: + max_count_attempts: 3 + timeout: 600 # Ban period (in seconds ... 600 = 10 minutes) + watch_period: 3600 + diff --git a/anyx/login-gate-bundle/1.0/manifest.json b/anyx/login-gate-bundle/1.0/manifest.json new file mode 100644 index 00000000..29733aaa --- /dev/null +++ b/anyx/login-gate-bundle/1.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Anyx\\LoginGateBundle\\LoginGateBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}