yusuketk 6 лет назад
Родитель
Сommit
823d187de5
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/server/views/login.html

+ 1 - 1
src/server/views/login.html

@@ -112,7 +112,7 @@
       <div id="login-form"
         data-is-local-strategy-setup="{{ isLocalStrategySetup }}"
         data-is-ldap-strategy-setup="{{ isLdapStrategySetup }}"
-        data-is-registration-enabled="{{ req.query.register or req.body.registerForm or isRegistering }}"
+        data-is-registration-enabled="{{ isRegistrationEnabled }}"
         data-is-google-auth-enabled="{{ getConfig('crowi', 'security:passport-google:isEnabled') }}"
         data-is-github-auth-enabled="{{ getConfig('crowi', 'security:passport-github:isEnabled') }}"
         data-is-facebook-auth-enabled="{{ getConfig('crowi', 'security:passport-facebook:isEnabled') }}"