mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Semi bsr for applications[] to prevent heavy to debug bugs in j2 - part 1
This commit is contained in:
@@ -164,7 +164,7 @@ plugin_configuration:
|
||||
appid: "user_ldap"
|
||||
configkey: "s01ldap_userlist_filter"
|
||||
configvalue: |-
|
||||
{% if applications[application_id].plugins.user_ldap.user_directory.enabled %}
|
||||
{% if applications | get_app_conf(application_id, 'plugins', True).user_ldap.user_directory.enabled %}
|
||||
{{ ldap.filters.users.all }}
|
||||
{% else %}
|
||||
()
|
||||
|
@@ -1,11 +1,11 @@
|
||||
nextcloud_system_config:
|
||||
- parameter: "hide_login_form"
|
||||
type: "boolean"
|
||||
value: "{{ (not applications[application_id].legacy_login_mask.enabled) | lower }}"
|
||||
value: "{{ (not applications | get_app_conf(application_id, 'legacy_login_mask.enabled', True)) | lower }}"
|
||||
|
||||
- parameter: "auth.webauthn.enabled"
|
||||
type: "boolean"
|
||||
value: "{{ applications[application_id].legacy_login_mask.enabled | lower }}"
|
||||
value: "{{ applications | get_app_conf(application_id, 'legacy_login_mask.enabled', True) | lower }}"
|
||||
|
||||
- parameter: "maintenance_window_start"
|
||||
type: "integer"
|
||||
|
Reference in New Issue
Block a user