浏览代码

Update layouts.js

Allemand 5 年之前
父节点
当前提交
1389ed0fce
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      client/components/main/layouts.js

+ 1 - 1
client/components/main/layouts.js

@@ -31,7 +31,7 @@ Template.userFormsLayout.onCreated(function() {
       return this.stop();
       return this.stop();
     },
     },
   });
   });
-  Meteor.call('isPasswordDisabled', (_, result) => {
+  Meteor.call('isPasswordLoginDisabled', (_, result) => {
     if (result) {
     if (result) {
       $('.at-pwd-form').hide();
       $('.at-pwd-form').hide();
     }
     }