We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2819839 commit e5ced74Copy full SHA for e5ced74
templates/web/zabbix.conf.php.epp
@@ -78,6 +78,10 @@ $SSO['SP_CERT'] = '<%= $saml_sp_cert -%>';
78
$SSO['IDP_CERT'] = '<%= $saml_idp_cert -%>';
79
<% } -%>
80
<% unless empty($saml_settings) { -%>
81
-$SSO['SETTINGS'] = [ <%= String($saml_settings,'%[h') %>;
+$SSO['SETTINGS'] = [ <%= to_json_pretty($saml_settings, undef, {space_before => " "})
82
+ .regsubst("{", "")
83
+ .regsubst(" : ", " => ",'G')
84
+ .regsubst("{", "[",'G')
85
+ .regsubst("}", "]",'G') -%>;
86
87
?>
0 commit comments