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
1 changed files with 4 additions and 3 deletions

View File

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