Skip to content

Commit 20d2536

Browse files
committed
T7635: OpenConnect Certificate Authentication - Fix ocserv jinja template
1 parent 3fbac63 commit 20d2536

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data/templates/ocserv/ocserv_config.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ auth = "plain[otp=/run/ocserv/users.oath]"
3131
auth = "plain[/run/ocserv/ocpasswd]"
3232
{% endif %}
3333
{% elif "cert" in authentication.mode %}
34-
auth = "certificate"
35-
cert-user-oid = authentication.mode.cert
34+
auth = certificate
35+
cert-user-oid = {{ authentication.mode.cert }}
3636
{% else %}
3737
auth = "plain[/run/ocserv/ocpasswd]"
3838
{% endif %}

0 commit comments

Comments
 (0)