浏览代码

Never show the login form OR separator

So many states for with password enabled/disabled treated async
separately. Might be easier to bring back once password login is treated
like saml/ldap/... while still using the very same form elements
regardless
Johannes Zellner 1 年之前
父节点
当前提交
99d9291a28
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      client/components/main/layouts.js

+ 0 - 4
client/components/main/layouts.js

@@ -59,10 +59,6 @@ Template.userFormsLayout.onRendered(() => {
       if (result) {
       if (result) {
         $('.at-pwd-form').show();
         $('.at-pwd-form').show();
       }
       }
-
-      if (result && enabledAuthenticationMethods.length > 1) {
-        $('.at-sep').show();
-      }
     });
     });
 
 
     Meteor.call('isDisableRegistration', (_, result) => {
     Meteor.call('isDisableRegistration', (_, result) => {