Explorar o código

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

utsushiiro %!s(int64=7) %!d(string=hai) anos
pai
achega
80a75ca1fb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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") }}