Rmeoved is_feature_enabled function

This commit is contained in:
2025-07-13 17:54:09 +02:00
parent 991ed7d614
commit ad60f5fb37
59 changed files with 107 additions and 104 deletions

View File

@@ -27,4 +27,9 @@ rbac_groups: "/rbac"
docker:
services:
database:
enabled: true
enabled: true
credentials:
recaptcha:
website_key: "YOUR_RECAPTCHA_WEBSITE_KEY" # Required if you enabled recaptcha:
secret_key: "YOUR_RECAPTCHA_SECRET_KEY" # Required if you enabled recaptcha:

View File

@@ -2820,7 +2820,7 @@
"autheticatorFlow": false,
"userSetupAllowed": false
},
{%- if applications | is_feature_enabled('recaptcha', application_id) %}
{%- if applications | get_app_conf(application_id, 'features.recaptcha', False) %}
{
"authenticatorConfig": "Google reCaptcha",
"authenticator": "registration-recaptcha-action",
@@ -2912,7 +2912,7 @@
}
],
"authenticatorConfig": [
{%- if applications | is_feature_enabled('recaptcha',application_id) %}
{%- if applications | get_app_conf(application_id, 'features.recaptcha', False) %}
{
"id": "c6dcf381-7e39-4f7f-8d1f-631faec31b56",
"alias": "Google reCaptcha",