Преглед изворни кода

use getConfig to get security:passport-saml:entryPoint(SAML_ENTRY_POINT)

utsushiiro пре 7 година
родитељ
комит
80a75ca1fb
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/server/views/admin/widget/passport/saml.html

+ 1 - 1
src/server/views/admin/widget/passport/saml.html

@@ -28,7 +28,7 @@
         <input id="settingForm[security:passport-saml:entryPoint]" class="form-control"
                type="text"
                name="settingForm[security:passport-saml:entryPoint]"
-               value="{{ settingForm['security:passport-saml:entryPoint'] || '' }}">
+               value="{{ getConfig('crowi', 'security:passport-saml:entryPoint') || '' }}">
         <p class="help-block">
           <small>
             {{ t("security_setting.Use env var if empty", "SAML_ENTRY_POINT") }}