diff --git a/templates/etc/pve/domains.cfg.j2 b/templates/etc/pve/domains.cfg.j2 index 7760700..33bb96e 100644 --- a/templates/etc/pve/domains.cfg.j2 +++ b/templates/etc/pve/domains.cfg.j2 @@ -8,7 +8,7 @@ pam: {{ pve_auth_pam_realm }} tfa type=oath,step={{ pve_auth_pam_tfa_oath_timestep }},digits={{ pve_auth_pam_tfa_oath_pwlength }} {% elif pve_auth_pam_tfa_yubico_enabled and not pve_auth_pam_tfa_oath_enabled -%} tfa type=yubico,id={{ pve_auth_pam_tfa_yubico_api_id }},key={{ pve_auth_pam_tfa_yubico_api_key }},url={{ pve_auth_pam_tfa_yubico_url }} - {% endif -%} + {%- endif -%} {% endif %} {% if pve_auth_pve_enabled %} @@ -19,7 +19,7 @@ pve: {{ pve_auth_pve_realm }} tfa type=oath,step={{ pve_auth_pve_tfa_oath_timestep }},digits={{ pve_auth_pve_tfa_oath_pwlength }} {% elif pve_auth_pve_tfa_yubico_enabled and not pve_auth_pve_tfa_oath_enabled -%} tfa type=yubico,id={{ pve_auth_pve_tfa_yubico_api_id }},key={{ pve_auth_pve_tfa_yubico_api_key }},url={{ pve_auth_pve_tfa_yubico_url }} - {% endif -%} + {%- endif -%} {% endif %} {% if pve_auth_ldap_enabled %} @@ -41,5 +41,5 @@ ldap: {{ pve_auth_ldap_realm }} tfa type=oath,step={{ pve_auth_ldap_tfa_oath_timestep }},digits={{ pve_auth_ldap_tfa_oath_pwlength }} {% elif pve_auth_ldap_tfa_yubico_enabled and not pve_auth_ldap_tfa_oath_enabled -%} tfa type=yubico,id={{ pve_auth_ldap_tfa_yubico_api_id }},key={{ pve_auth_ldap_tfa_yubico_api_key }},url={{ pve_auth_ldap_tfa_yubico_url }} - {% endif -%} + {%- endif -%} {% endif %}