diff --git a/tmpl/lmConf-1.js b/tmpl/lmConf-1.js index 26117a5..3c5819d 100644 --- a/tmpl/lmConf-1.js +++ b/tmpl/lmConf-1.js @@ -218,10 +218,11 @@ "slaveAuthnLevel": 2, "samlIDPSSODescriptorSingleLogoutServiceHTTPPost": "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST;#PORTAL#/saml/singleLogout;#PORTAL#/saml/singleLogoutReturn", "Soap": 1, -%if %%llRegisterDB == "Custom" +%set %%RegisterDB=%%getVar('llRegisterDB', 'Demo') +%if %%RegisterDB == "Custom" "registerDB": "Null", %else - "registerDB": "%%llRegisterDB", + "registerDB": "%%RegisterDB", %end if "locationRules": { "%%managerWebName": { @@ -402,7 +403,7 @@ "oidcOPMetaDataOptions": null, "samlSPSSODescriptorWantAssertionsSigned": 1, "samlOrganizationName": "%%samlOrganizationName", -%if %%llRegisterDB == "Custom" +%if %%RegisterDB == "Custom" "registerUrl": "%%llRegisterURL", %else "registerUrl": "https://%%authWebName/register.pl",