llRegisterDB variable could be disabled

If you choose to remove "Registration button"
from the interface llRegisterDB is disabled
so it's not available for the template.
This commit is contained in:
Philippe Caseiro 2018-03-27 12:25:52 +02:00
parent 5f5c5359f7
commit b7aefb7a8b

View File

@ -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",