Update layouts.js

This commit is contained in:
Allemand 2020-04-14 08:48:51 +02:00 committed by GitHub
parent 3e817257ef
commit 1389ed0fce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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