summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-08-04 16:35:41 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-08-04 16:35:41 +0300
commitacd1f9046c8d79ba5e232043131f6c9842d357e7 (patch)
tree2a53246e87c51e1a3f81a5c46670096cce270f3f
parentfix a typo in logic (diff)
downloadpambase-acd1f9046c8d79ba5e232043131f6c9842d357e7.tar.gz
pambase-acd1f9046c8d79ba5e232043131f6c9842d357e7.tar.bz2
pambase-acd1f9046c8d79ba5e232043131f6c9842d357e7.zip
fix pam_ssh formattingpambase-20200804
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
-rw-r--r--templates/system-auth.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/system-auth.tpl b/templates/system-auth.tpl
index 13f5c0d..e8a6d91 100644
--- a/templates/system-auth.tpl
+++ b/templates/system-auth.tpl
@@ -35,7 +35,7 @@ password [success=1 default=ignore] pam_krb5.so {{ krb5_params }}
password required pam_unix.so try_first_pass {{ unix_authtok|default('', true) }} {{ nullok|default('', true) }} {{ unix_extended_encryption|default('', true) }} {{ debug|default('', true) }}
password optional pam_permit.so
-{%- if pam_ssh -%}
+{%- if pam_ssh %}
session optional pam_ssh.so
{% endif -%}