diff options
-rw-r--r-- | client/components/main/layouts.js | 2 | ||||
-rw-r--r-- | config/accounts.js | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/client/components/main/layouts.js b/client/components/main/layouts.js index be1402e9..f51b03c3 100644 --- a/client/components/main/layouts.js +++ b/client/components/main/layouts.js @@ -121,7 +121,7 @@ Template.defaultLayout.events({ }); async function authentication(event, templateInstance) { - const match = $('#at-field-username_and_email').val(); + const match = $('#at-field-username').val(); const password = $('#at-field-password').val(); if (!match || !password) return undefined; diff --git a/config/accounts.js b/config/accounts.js index 4964adee..161478a5 100644 --- a/config/accounts.js +++ b/config/accounts.js @@ -9,7 +9,6 @@ AccountsTemplates.addFields([ required: true, minLength: 2, }, - emailField, passwordField, { _id: 'invitationcode', |